7c4f035497540e3217042201d08693a5ecc12b55,niftynet/layer/resampler.py,,_boundary_circular,#,184
Before Change
def _boundary_circular(sample_coords, input_size):
sample_coords = tf.cast(sample_coords, COORDINATES_TYPE)
return tf.mod(tf.mod(sample_coords, input_size) + input_size, input_size)
def _boundary_symmetric(sample_coords, input_size):
After Change
def _boundary_circular(sample_coords, input_size):
sample_coords, input_size = _param_type_and_shape(sample_coords, input_size)
return tf.mod(tf.mod(sample_coords, input_size) + input_size, input_size)
def _boundary_symmetric(sample_coords, input_size):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: NifTK/NiftyNet
Commit Name: 7c4f035497540e3217042201d08693a5ecc12b55
Time: 2017-10-24
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/layer/resampler.py
Class Name:
Method Name: _boundary_circular
Project Name: NifTK/NiftyNet
Commit Name: 7c4f035497540e3217042201d08693a5ecc12b55
Time: 2017-10-24
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/layer/resampler.py
Class Name:
Method Name: _boundary_circular
Project Name: NifTK/NiftyNet
Commit Name: 7c4f035497540e3217042201d08693a5ecc12b55
Time: 2017-10-24
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/layer/resampler.py
Class Name:
Method Name: _boundary_replicate
Project Name: NifTK/NiftyNet
Commit Name: 7c4f035497540e3217042201d08693a5ecc12b55
Time: 2017-10-24
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/layer/resampler.py
Class Name:
Method Name: _boundary_symmetric