c2666cea4b8ac2b231bde62e97f8efa6e6b022ba,official/r1/resnet/imagenet_test.py,BaseTest,setUp,#BaseTest#,44
Before Change
def setUp(self):
super(BaseTest, self).setUp()
if keras_utils.is_v2_0:
tf.compat.v1.disable_eager_execution()
self._num_validation_images = imagenet_main.NUM_IMAGES["validation"]
imagenet_main.NUM_IMAGES["validation"] = 4
def tearDown(self):
After Change
def setUp(self):
super(BaseTest, self).setUp()
tf.compat.v1.disable_eager_execution()
self._num_validation_images = imagenet_main.NUM_IMAGES["validation"]
imagenet_main.NUM_IMAGES["validation"] = 4
def tearDown(self):
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 5
Instances
Project Name: tensorflow/models
Commit Name: c2666cea4b8ac2b231bde62e97f8efa6e6b022ba
Time: 2020-05-19
Author: hongkuny@google.com
File Name: official/r1/resnet/imagenet_test.py
Class Name: BaseTest
Method Name: setUp
Project Name: tensorflow/models
Commit Name: c2666cea4b8ac2b231bde62e97f8efa6e6b022ba
Time: 2020-05-19
Author: hongkuny@google.com
File Name: official/recommendation/data_test.py
Class Name: BaseTest
Method Name: setUp
Project Name: tensorflow/models
Commit Name: c2666cea4b8ac2b231bde62e97f8efa6e6b022ba
Time: 2020-05-19
Author: hongkuny@google.com
File Name: official/r1/resnet/cifar10_test.py
Class Name: BaseTest
Method Name: setUpClass
Project Name: tensorflow/models
Commit Name: c2666cea4b8ac2b231bde62e97f8efa6e6b022ba
Time: 2020-05-19
Author: hongkuny@google.com
File Name: official/utils/misc/model_helpers_test.py
Class Name: PastStopThresholdTest
Method Name: setUp
Project Name: tensorflow/models
Commit Name: c2666cea4b8ac2b231bde62e97f8efa6e6b022ba
Time: 2020-05-19
Author: hongkuny@google.com
File Name: official/r1/utils/data/file_io_test.py
Class Name: BaseTest
Method Name: setUp