48c7c9bc4f50a16154d0146262e1acc05ae27d92,niftynet/contrib/layer/rand_elastic_deform.py,RandomElasticDeformationLayer,randomise,#RandomElasticDeformationLayer#Any#Any#,38

Before Change


        self.bspline_transformation = None

    def randomise(self, image_dict, spatial_rank=3):
        images = image_dict.values()
        equal_shapes = np.all([images[0].shape == image.shape for image in images])
        if spatial_rank == 3 and equal_shapes:
            self._randomise_bspline_transformation_3d(images[0].shape)
        else:

After Change


        if not self.do_augmentation:
            pass

        images = list(image_dict.values())
        equal_shapes = np.all([images[0].shape == image.shape for image in images])
        if spatial_rank == 3 and equal_shapes:
            self._randomise_bspline_transformation_3d(images[0].shape)
        else:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 9

Non-data size: 3

Instances


Project Name: NifTK/NiftyNet
Commit Name: 48c7c9bc4f50a16154d0146262e1acc05ae27d92
Time: 2018-04-23
Author: z.eaton-rosen@ucl.ac.uk
File Name: niftynet/contrib/layer/rand_elastic_deform.py
Class Name: RandomElasticDeformationLayer
Method Name: randomise


Project Name: ClimbsRocks/auto_ml
Commit Name: 23b1da0f2ce5eaf89b5942068e1c3ea71bb7a98c
Time: 2017-11-07
Author: ClimbsBytes@gmail.com
File Name: auto_ml/utils_ensembling.py
Class Name: Ensembler
Method Name: predict


Project Name: OpenNMT/OpenNMT-py
Commit Name: 1771749bbb73ea3b9ea2a7ede4091ad7d5f99e8a
Time: 2017-07-04
Author: srush@sum1gpu01.rc.fas.harvard.edu
File Name: onmt/Loss.py
Class Name:
Method Name: shardVariables


Project Name: ClimbsRocks/auto_ml
Commit Name: 23b1da0f2ce5eaf89b5942068e1c3ea71bb7a98c
Time: 2017-11-07
Author: ClimbsBytes@gmail.com
File Name: auto_ml/utils_ensembling.py
Class Name: Ensembler
Method Name: predict_proba


Project Name: chainer/chainercv
Commit Name: 6a2b43c9318a0b1ac52beb75aa86d207f70c05d9
Time: 2017-06-17
Author: yuyuniitani@gmail.com
File Name: chainercv/links/model/vgg/vgg16.py
Class Name: VGG16Layers
Method Name: __call__


Project Name: tryolabs/luminoth
Commit Name: 9bfeb2a13177409927c2a5485a68046335a79082
Time: 2017-06-20
Author: javirey@gmail.com
File Name: frcnn/network.py
Class Name: FasterRCNN
Method Name: loss


Project Name: google/deepvariant
Commit Name: 25d024f957cc5e4fc187b86fa5e7df96c9b992f5
Time: 2019-11-18
Author: marianattestad@google.com
File Name: deepvariant/vcf_stats_vis.py
Class Name:
Method Name: _dict_to_dataframe


Project Name: NifTK/NiftyNet
Commit Name: 44a6997f1254d45582394f7a9a57dcfb1bec7862
Time: 2017-09-04
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/engine/sampler_grid.py
Class Name: GridSampler
Method Name: layer_op


Project Name: NifTK/NiftyNet
Commit Name: 44a6997f1254d45582394f7a9a57dcfb1bec7862
Time: 2017-09-04
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/engine/sampler_linear_interpolate.py
Class Name: LinearInterpolateSampler
Method Name: __init__