9a3e9d21273da7ae40da9f70cb6df1b077b08105,tf_agents/networks/actor_distribution_network_test.py,ActorDistributionNetworkTest,testDropoutFCLayersWithConv,#ActorDistributionNetworkTest#Any#,117
Before Change
("TrainingTrue" , True,),
("TrainingFalse" , False))
def testDropoutFCLayersWithConv (self, training) :
tf.compat.v1.set_random_seed (0 )
observation_spec = tensor_spec.BoundedTensorSpec((8 , 8 , 3 ), tf.float32, 0 ,
1 )
time_step_spec = ts.time_step_spec(observation_spec)
time_step = tensor_spec.sample_spec_nest(time_step_spec, outer_dims=(1 ,))
After Change
for i in range (num_modes) :
for j in range (i+1 , num_modes) :
modes_differ = np.linalg.norm(modes[i] - modes[j]) > 1e-6
if modes_differ:
break
self.assertEqual(training, modes_differ)
if __name__ == "__main__" :
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 2
Instances Project Name: tensorflow/agents
Commit Name: 9a3e9d21273da7ae40da9f70cb6df1b077b08105
Time: 2019-12-05
Author: kbanoop@google.com
File Name: tf_agents/networks/actor_distribution_network_test.py
Class Name: ActorDistributionNetworkTest
Method Name: testDropoutFCLayersWithConv
Project Name: tensorflow/cleverhans
Commit Name: 6a00f3e4b8cb38477ab2985c6a5657f1edcff971
Time: 2017-12-12
Author: dberth@google.com
File Name: tests_tf/test_mnist_blackbox.py
Class Name: TestMNISTBlackboxF
Method Name: test_mnist_blackbox
Project Name: tensorflow/cleverhans
Commit Name: ae63eb836e423e11b86c7239c22795ca68a3063a
Time: 2017-12-11
Author: dberth@google.com
File Name: tests_tf/test_mnist_tutorial_keras_tf.py
Class Name: TestMNISTTutorialKerasTF
Method Name: test_mnist_tutorial_keras_tf
Project Name: MorvanZhou/tutorials
Commit Name: e32feb8e8e9f2dd4edc45f80a975dc7e07506478
Time: 2016-11-25
Author: morvanzhou@gmail.com
File Name: tensorflowTUT/tf22_scope/tf22_RNN_scope.py
Class Name:
Method Name:
Project Name: tensorflow/cleverhans
Commit Name: 93eada71f996f004b500975bb88344099642b715
Time: 2017-12-11
Author: dberth@google.com
File Name: tests_tf/test_mnist_tutorial_tf.py
Class Name: TestMNISTTutorialTF
Method Name: test_mnist_tutorial_tf