135a56e0935fbb04811f8ce7b9f514f498212f71,niftynet/layer/crf.py,,ftheta,#Any#Any#Any#Any#Any#Any#,148
Before Change
// Message Passing
data = tf.reshape(tf.nn.softmax(H1), [batch_size, -1, n_ch])
Q1 = [None] * len(permutohedrals)
with tf.device("/cpu:0"):
for idx, permutohedral in enumerate(permutohedrals):
Q1[idx] = tf.reshape(
_permutohedral_gen(permutohedral, data, name + str(idx)),
U.shape)
After Change
for idx, permutohedral in enumerate(permutohedrals):
// Message Passing
Q = _permutohedral_gen(permutohedral, H1, name + str(idx))
Q.set_shape([n_voxels, n_ch])
// Weighting Filtered Outputs
Q1 = Q1 + Q * kernel_weights[idx]
// Compatibility Transform, Adding Unary Potentials
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: NifTK/NiftyNet
Commit Name: 135a56e0935fbb04811f8ce7b9f514f498212f71
Time: 2018-07-25
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/layer/crf.py
Class Name:
Method Name: ftheta
Project Name: tensorflow/cleverhans
Commit Name: 8ba829009b119625db5fe3ca9ae5389454c12c7f
Time: 2017-11-24
Author: zhi.li.gz@gmail.com
File Name: cleverhans/attacks.py
Class Name: SaliencyMapMethod
Method Name: generate
Project Name: tensorflow/tpu
Commit Name: c1db25d9281a9374005d5c8b4e183b8e6d7d2ace
Time: 2017-09-06
Author: frankchn@google.com
File Name: cloud_tpu/models/resnet/estimator_resnet.py
Class Name:
Method Name: input_fn