dded0e1e61a8b8175621d638bd96041ccfb2cc07,chainercv/utils/iterator/split_iterator.py,,split_iterator,#Any#,23

Before Change


            it.push(value)

    values = next(iterator)
    iters = tuple(BufferedIterator(feed) for _ in values)
    feed(values)

    return iters

After Change


    

    values = next(iterator)
    buffers = [[val] for val in values]
    return tuple(
        BufferedIterator(iterator, buffers, index)
        for index in range(len(buffers)))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: chainer/chainercv
Commit Name: dded0e1e61a8b8175621d638bd96041ccfb2cc07
Time: 2017-05-30
Author: Hakuyume@users.noreply.github.com
File Name: chainercv/utils/iterator/split_iterator.py
Class Name:
Method Name: split_iterator


Project Name: keras-team/keras
Commit Name: 5938501a61329a8548d9821fded54c46a315adb9
Time: 2017-09-16
Author: souptc@gmail.com
File Name: keras/backend/cntk_backend.py
Class Name:
Method Name: _reshape_dummy_dim


Project Name: NifTK/NiftyNet
Commit Name: 14f7fd88d24cf31a466726fc89060a4b7778e2e6
Time: 2017-09-04
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/engine/image_window.py
Class Name:
Method Name: _read_window_sizes


Project Name: keras-team/keras
Commit Name: 5938501a61329a8548d9821fded54c46a315adb9
Time: 2017-09-16
Author: souptc@gmail.com
File Name: keras/backend/cntk_backend.py
Class Name:
Method Name: squeeze