30dfa316d689a232c2e6deaa813827be52aba961,niftynet/network/simulator_gan.py,ImageDiscriminator,__init__,#ImageDiscriminator#Any#,124
Before Change
def __init__(self, name):
super(ImageDiscriminator, self).__init__(name=name)
self.initializers = {"w": tf.contrib.layers.variance_scaling_initializer(),
"b": tf.constant_initializer(0)}
def layer_op(self, image, conditioning, is_training):
After Change
super(ImageDiscriminator, self).__init__(name=name)
w_init = tf.random_normal_initializer(0, 0.02)
b_init = tf.constant_initializer(0.001)
// w_init = tf.contrib.layers.variance_scaling_initializer()
// b_init = tf.constant_initializer(0)
self.initializers = {"w": w_init, "b": b_init}
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 3
Instances
Project Name: NifTK/NiftyNet
Commit Name: 30dfa316d689a232c2e6deaa813827be52aba961
Time: 2017-09-12
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/network/simulator_gan.py
Class Name: ImageDiscriminator
Method Name: __init__
Project Name: rlworkgroup/garage
Commit Name: 49807783b43ade605b8be05f481c6e72ff933030
Time: 2019-03-26
Author: ahtsans@gmail.com
File Name: garage/tf/models/gaussian_mlp_model.py
Class Name: GaussianMLPModel
Method Name: _build
Project Name: arnomoonens/yarll
Commit Name: db33f675df19cd20001554b3a92f8c9d7f013c39
Time: 2018-10-25
Author: arno.moonens@gmail.com
File Name: misc/network_ops.py
Class Name:
Method Name: linear
Project Name: MorvanZhou/tutorials
Commit Name: d337d8bf8a2d56f629a7da54e2f3b947a1abf503
Time: 2017-02-21
Author: morvanzhou@hotmail.com
File Name: Reinforcement_learning_TUT/7_Policy_gradient_softmax/RL_brain.py
Class Name: PolicyGradient
Method Name: _build_net
Project Name: tensorflow/agents
Commit Name: 698bdb025b6d0f3fdc02420bfdbf591fd76761b4
Time: 2020-10-15
Author: ebrevdo@google.com
File Name: tf_agents/agents/behavioral_cloning/behavioral_cloning_agent_test.py
Class Name:
Method Name: get_dummy_net