8a5eb9a32b96ee67fc8af1813ceb7cbc02f0b4a7,niftynet/contrib/dataset_sampler/sampler_uniform_v2.py,UniformSampler,layer_op,#UniformSampler#,128
Before Change
"Current coords %s", location_array[window_id])
raise
if len(image_array) > 1:
output_dict[image_data_key] = \
np.concatenate(image_array, axis=0).astype(np.float32)
else:
output_dict[image_data_key] = image_array[0].astype(np.float32)
// the output image shape should be
After Change
"Current coords %s", location_array[window_id])
raise
if len(image_array) > 1:
output_dict[image_data_key] = \
np.concatenate(image_array, axis=0)
else:
output_dict[image_data_key] = image_array[0]
// the output image shape should be
// [enqueue_batch_size, x, y, z, time, modality]

In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: NifTK/NiftyNet
Commit Name: 8a5eb9a32b96ee67fc8af1813ceb7cbc02f0b4a7
Time: 2018-05-08
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/contrib/dataset_sampler/sampler_uniform_v2.py
Class Name: UniformSampler
Method Name: layer_op
Project Name: NifTK/NiftyNet
Commit Name: 8a5eb9a32b96ee67fc8af1813ceb7cbc02f0b4a7
Time: 2018-05-08
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/contrib/dataset_sampler/sampler_resize_v2.py
Class Name: ResizeSampler
Method Name: layer_op
Project Name: asyml/texar
Commit Name: 47c71c0524c7804863f2f4bcffdef5a873d84a55
Time: 2017-10-16
Author: junxianh2@gmail.com
File Name: txtgen/modules/connectors/connectors.py
Class Name:
Method Name: _mlp_transform