4c9acddb0bfbbd66d8ab26687bb0079630d5f622,niftynet/layer/crf.py,,ftheta,#,163
Before Change
:return: updated mean-field distribution
batch_size, n_ch = U.shape.as_list()[0], U.shape.as_list()[-1]
n_voxels = np.prod(U.shape.as_list()[:-1])
H1 = tf.reshape(tf.nn.softmax(H1), [batch_size, -1, n_ch])
Q1 = 0
After Change
:param name: layer name
:return: updated mean-field distribution
batch_size, n_voxels, n_ch = U.shape.as_list()
H1 = tf.nn.softmax(H1)
Q1 = 0
for idx, permutohedral in enumerate(permutohedrals):
// Message Passing
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: NifTK/NiftyNet
Commit Name: 4c9acddb0bfbbd66d8ab26687bb0079630d5f622
Time: 2018-08-18
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/layer/crf.py
Class Name:
Method Name: ftheta
Project Name: NifTK/NiftyNet
Commit Name: 7c8af7a941f49539f2d5eb1b17d61952fc70e2bc
Time: 2017-10-24
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/layer/resampler.py
Class Name: ResamplerLayer
Method Name: _resample_inv_dst_weighting
Project Name: NifTK/NiftyNet
Commit Name: 2a09f6d21d2720a6deeff46b345ace3a931bb7fa
Time: 2018-08-19
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/layer/crf.py
Class Name:
Method Name: ftheta