17ec4c25d6b26300bbcdb6bfe781595bd2586a96,dask_image/imread/__init__.py,,imread,#,21

Before Change


    a = []
    for i, j in zip(lower_iter, upper_iter):
        a.append(dask.array.from_delayed(
            dask.delayed(_utils._read_frame)(fname, slice(i, j),
                                             arrayfunc=arrayfunc),
            (j - i,) + shape[1:],
            dtype,
            meta=arrayfunc([])

After Change


    a = dask.array.map_blocks(
        _map_read_frame,
        chunks=dask.array.core.normalize_chunks(
            (nframes,) + shape[1:], shape),
        fn=fname,
        arrayfunc=arrayfunc,
        meta=arrayfunc([]).astype(dtype),  // meta overwrites `dtype` argument
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: dask/dask-image
Commit Name: 17ec4c25d6b26300bbcdb6bfe781595bd2586a96
Time: 2020-10-25
Author: marvin.albert@gmail.com
File Name: dask_image/imread/__init__.py
Class Name:
Method Name: imread


Project Name: dask/dask-image
Commit Name: b4ae3a5a56f63b1ed65370d2bb074503026cc1c4
Time: 2018-09-17
Author: jakirkham@gmail.com
File Name: dask_image/ndmeasure/__init__.py
Class Name:
Method Name: label


Project Name: D2KLab/entity2rec
Commit Name: 6254b5540c4e114439b9930fe41c20542155ecc9
Time: 2017-12-13
Author: enricopalumbo0@gmail.com
File Name: entity2rec/entity2rec.py
Class Name: Entity2Rec
Method Name: _compute_features