ec6ecb77873a602b815008d54b1fbdc56f154b8f,gen_util.py,,main,#,43

Before Change


    print(test.shape)

    for i in range(10):
        test = extract_chunk(vol, (2,3,4), None)

if __name__ == "__main__":
    main()

After Change


    print(chunk)

    // random coordinate selection
    dims_chunk = (5,6,7)

    n_runs = 10000
    coords_random = np.zeros((n_runs, len(dims_chunk)), dtype=np.int)
    print("generating", n_runs, "random coordinates for chunk of shape", dims_chunk)
    dims_pin = (None, None, None)
    for i in range(n_runs):
        coord = pick_random_chunk_coord(vol.shape, dims_chunk, dims_pin)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 5

Instances


Project Name: AllenCellModeling/pytorch_fnet
Commit Name: ec6ecb77873a602b815008d54b1fbdc56f154b8f
Time: 2017-06-14
Author: chek.o@outlook.com
File Name: gen_util.py
Class Name:
Method Name: main


Project Name: AIRLab-POLIMI/mushroom
Commit Name: f6c7f0d36f5326074f6796386006609e65c1f63f
Time: 2017-03-15
Author: carlo.deramo@gmail.com
File Name: examples/run.py
Class Name:
Method Name:


Project Name: broadinstitute/keras-rcnn
Commit Name: 58331e77da44f727f96f71eedf6b7f467e3a8efa
Time: 2018-04-11
Author: allen.goodman@icloud.com
File Name: keras_rcnn/preprocessing/_object_detection.py
Class Name: DictionaryIterator
Method Name: _get_batches_of_transformed_samples


Project Name: mil-tokyo/webdnn
Commit Name: 24bf232753b4b34b6d4164d5a647dd17d16348b2
Time: 2017-05-23
Author: hidaka@mi.t.u-tokyo.ac.jp
File Name: example/convert_resnet/convert.py
Class Name:
Method Name: main


Project Name: geomstats/geomstats
Commit Name: 3c082fc0821ff9f9b1284a486a5cf60f9aec238e
Time: 2018-11-07
Author: null
File Name: examples/loss_and_gradient_se3.py
Class Name:
Method Name: grad