b904d4838f6bd6a29171389c6e213ca03ec772b9,python/mxnet/ndarray/numpy/_op.py,,full,#Any#Any#Any#Any#Any#Any#,308

Before Change


    if isinstance(fill_value, bool):
        fill_value = int(fill_value)
        dtype = _np.bool if dtype is None else dtype
    dtype = _np.float32 if dtype is None else dtype
    return _npi.full(shape=shape, value=fill_value, ctx=ctx, dtype=dtype, out=out)
// pylint: enable=too-many-arguments, redefined-outer-name

After Change


        ctx = str(ctx)
    if isinstance(fill_value, bool):
        fill_value = int(fill_value)
        dtype = _np.bool if dtype is None else dtype
    if dtype is not None and not isinstance(dtype, str):
        dtype = _np.dtype(dtype).name
    return _api_internal.full(shape, dtype, fill_value, ctx, out)
// pylint: enable=too-many-arguments, redefined-outer-name

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 7

Non-data size: 10

Instances


Project Name: apache/incubator-mxnet
Commit Name: b904d4838f6bd6a29171389c6e213ca03ec772b9
Time: 2020-05-19
Author: 54654391+JiangZhaoh@users.noreply.github.com
File Name: python/mxnet/ndarray/numpy/_op.py
Class Name:
Method Name: full


Project Name: apache/incubator-mxnet
Commit Name: 5c525c9acc0a0d90cf4f2789181a8541c1fe4da9
Time: 2020-04-28
Author: 54654391+JiangZhaoh@users.noreply.github.com
File Name: python/mxnet/ndarray/numpy/_op.py
Class Name:
Method Name: identity


Project Name: apache/incubator-mxnet
Commit Name: b904d4838f6bd6a29171389c6e213ca03ec772b9
Time: 2020-05-19
Author: 54654391+JiangZhaoh@users.noreply.github.com
File Name: python/mxnet/ndarray/numpy/_op.py
Class Name:
Method Name: full


Project Name: apache/incubator-mxnet
Commit Name: b904d4838f6bd6a29171389c6e213ca03ec772b9
Time: 2020-05-19
Author: 54654391+JiangZhaoh@users.noreply.github.com
File Name: python/mxnet/ndarray/numpy/_op.py
Class Name:
Method Name: identity


Project Name: apache/incubator-mxnet
Commit Name: 5c525c9acc0a0d90cf4f2789181a8541c1fe4da9
Time: 2020-04-28
Author: 54654391+JiangZhaoh@users.noreply.github.com
File Name: python/mxnet/ndarray/numpy/_op.py
Class Name:
Method Name: ones


Project Name: apache/incubator-mxnet
Commit Name: 5c525c9acc0a0d90cf4f2789181a8541c1fe4da9
Time: 2020-04-28
Author: 54654391+JiangZhaoh@users.noreply.github.com
File Name: python/mxnet/ndarray/numpy/_op.py
Class Name:
Method Name: full


Project Name: apache/incubator-mxnet
Commit Name: 3f0b049a30fcacfbac50067d8d9552a68f1ff44a
Time: 2020-02-24
Author: fhztc1997618@gmail.com
File Name: python/mxnet/ndarray/numpy/_op.py
Class Name:
Method Name: zeros


Project Name: apache/incubator-mxnet
Commit Name: b904d4838f6bd6a29171389c6e213ca03ec772b9
Time: 2020-05-19
Author: 54654391+JiangZhaoh@users.noreply.github.com
File Name: python/mxnet/ndarray/numpy/_op.py
Class Name:
Method Name: ones