ae63eb836e423e11b86c7239c22795ca68a3063a,tests_tf/test_mnist_tutorial_keras_tf.py,,,#,33

Before Change


        self.assertTrue(report.train_adv_train_adv_eval > 0.30)


if __name__ == "__main__":
    unittest.main()

After Change


from tensorflow.python.client import device_lib
from cleverhans.devtools.checks import CleverHansTest

HAS_GPU = "GPU" in set([x.device_type for x in device_lib.list_local_devices()])


class TestMNISTTutorialKerasTF(CleverHansTest):
    def test_mnist_tutorial_keras_tf(self):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 13

Instances


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:
Method Name:


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:
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:
Method Name: