fc84b744240b6d8e90ba725ae0819af585badafc,layer/deconvolution.py,DeconvLayer,layer_op,#DeconvLayer#Any#,68
Before Change
input_shape = input_tensor.get_shape().as_list()
n_input_chns = input_shape[-1]
spatial_rank = len(input_shape) -2
assert(spatial_rank > 0)
// initialize conv kernels/strides and then apply
w_full_size = np.vstack((
[self.kernel_size] * spatial_rank,
After Change
def layer_op(self, input_tensor):
input_shape = input_tensor.get_shape().as_list()
n_input_chns = input_shape[-1]
spatial_rank = layer_util.infer_spatial_rank(input_tensor)
// initialize conv kernels/strides and then apply
w_full_size = np.vstack((
[self.kernel_size] * spatial_rank,
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: NifTK/NiftyNet
Commit Name: fc84b744240b6d8e90ba725ae0819af585badafc
Time: 2017-05-08
Author: wenqi.li@ucl.ac.uk
File Name: layer/deconvolution.py
Class Name: DeconvLayer
Method Name: layer_op
Project Name: NifTK/NiftyNet
Commit Name: fc84b744240b6d8e90ba725ae0819af585badafc
Time: 2017-05-08
Author: wenqi.li@ucl.ac.uk
File Name: layer/downsample.py
Class Name: DownSampleLayer
Method Name: layer_op
Project Name: NifTK/NiftyNet
Commit Name: fc84b744240b6d8e90ba725ae0819af585badafc
Time: 2017-05-08
Author: wenqi.li@ucl.ac.uk
File Name: layer/convolution.py
Class Name: ConvLayer
Method Name: layer_op
Project Name: NifTK/NiftyNet
Commit Name: fc84b744240b6d8e90ba725ae0819af585badafc
Time: 2017-05-08
Author: wenqi.li@ucl.ac.uk
File Name: layer/upsample.py
Class Name: UpSampleLayer
Method Name: layer_op