b470898504d2a077433a84e12a7c8078b2494760,dask_image/ndmeasure/__init__.py,,extrema,#Any#Any#Any#,73

Before Change


        ("min_pos", numpy.dtype(numpy.int)),
        ("max_pos", numpy.dtype(numpy.int))
    ])
    out_dtype = numpy.dtype(list(type_mapping.items()))

    default_1d = numpy.zeros((1,), dtype=out_dtype)

    func = functools.partial(_utils._extrema, dtype=out_dtype)

After Change


    )
    extrema_lbl = collections.OrderedDict([
        (k, extrema_lbl[k])
        for k in ["min_val", "max_val", "min_pos", "max_pos"]
    ])

    for pos_key in ["min_pos", "max_pos"]:
        pos_nd = extrema_lbl[pos_key]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: dask/dask-image
Commit Name: b470898504d2a077433a84e12a7c8078b2494760
Time: 2018-10-01
Author: jakirkham@gmail.com
File Name: dask_image/ndmeasure/__init__.py
Class Name:
Method Name: extrema


Project Name: senarvi/theanolm
Commit Name: 2c12d5f7ead1e7fc04d3cfd0efec6830208611e3
Time: 2015-10-05
Author: seppo.git@marjaniemi.com
File Name: theanolm/src/theanolm/trainers/modeltrainer.py
Class Name: ModelTrainer
Method Name: __init__


Project Name: dask/dask-image
Commit Name: b470898504d2a077433a84e12a7c8078b2494760
Time: 2018-10-01
Author: jakirkham@gmail.com
File Name: dask_image/ndmeasure/__init__.py
Class Name:
Method Name: center_of_mass