863a9dcee691e850e79d97a16abb977e24324fa1,niftynet/layer/deconvolution.py,DeconvLayer,layer_op,#DeconvLayer#Any#,75
Before Change
w_full_size = np.vstack((
[self.kernel_size] * spatial_rank,
self.n_output_chns, n_input_chns)).flatten()
full_stride = np.vstack((
1, [self.stride] * spatial_rank, 1)).flatten()
deconv_kernel = tf.get_variable(
"w", shape=w_full_size.tolist(),
initializer=self.initializers["w"],
regularizer=self.regularizers["w"])
After Change
kernel_size_all_dim = layer_util.expand_spatial_params(
self.kernel_size, spatial_rank)
w_full_size = kernel_size_all_dim + [self.n_output_chns, n_input_chns]
stride_all_dim = layer_util.expand_spatial_params(
self.stride, spatial_rank)
full_stride = [1] + stride_all_dim + [1]
deconv_kernel = tf.get_variable(
"w", shape=w_full_size,
initializer=self.initializers["w"],
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances
Project Name: NifTK/NiftyNet
Commit Name: 863a9dcee691e850e79d97a16abb977e24324fa1
Time: 2017-07-17
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/layer/deconvolution.py
Class Name: DeconvLayer
Method Name: layer_op
Project Name: NifTK/NiftyNet
Commit Name: 8b76443370012387d72de131e41e600a6d4231ea
Time: 2017-06-19
Author: wguotai@gmail.com
File Name: layer/deconvolution.py
Class Name: DeconvLayer
Method Name: layer_op
Project Name: NifTK/NiftyNet
Commit Name: 628bc779b81ad668b5e2dee11ff3b00b42b85e89
Time: 2017-06-19
Author: wguotai@gmail.com
File Name: layer/downsample.py
Class Name: DownSampleLayer
Method Name: layer_op