a22d96b4dbed86dd36b60a85b221a2fb86f84373,niftynet/engine/sampler_uniform.py,UniformSampler,layer_op,#UniformSampler#,57

Before Change


            image_id, data, _ = self.reader(idx=None, shuffle=True)
            if not data:
                break
            image_shapes = {
                name: data[name].shape for name in self.window.names}
            static_window_shapes = self.window.match_image_shapes(image_shapes)

            // find random coordinates based on window and image shapes
            coordinates = self.spatial_coordinates_generator(

After Change


            image_id, data, _ = self.reader(idx=None, shuffle=True)
            if not data:
                break
            image_shapes = dict((name, data[name].shape)
                                for name in self.window.names)
            static_window_shapes = self.window.match_image_shapes(image_shapes)

            // find random coordinates based on window and image shapes
            coordinates = self.spatial_coordinates_generator(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 6

Instances


Project Name: NifTK/NiftyNet
Commit Name: a22d96b4dbed86dd36b60a85b221a2fb86f84373
Time: 2017-11-24
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/engine/sampler_uniform.py
Class Name: UniformSampler
Method Name: layer_op


Project Name: streamlit/streamlit
Commit Name: 09412b09a225f1a9e9044087e9df8a3901afbaf3
Time: 2018-06-18
Author: adrien.g.treuille@gmail.com
File Name: lib/streamlit/Chart.py
Class Name: Chart
Method Name: _append_missing_data_components


Project Name: NifTK/NiftyNet
Commit Name: 72cdb227cff9af1f3b4bd68c20a973691a634e32
Time: 2017-11-29
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/io/image_reader.py
Class Name: ImageReader
Method Name: initialise


Project Name: NifTK/NiftyNet
Commit Name: a22d96b4dbed86dd36b60a85b221a2fb86f84373
Time: 2017-11-24
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/engine/sampler_resize.py
Class Name: ResizeSampler
Method Name: layer_op