4dc945c08ab5537b9b1e6e3ed8ff7073e404c77d,official/nlp/bert/model_training_utils_test.py,ModelTrainingUtilsTest,test_train_check_artifacts_non_chief,#ModelTrainingUtilsTest#Any#,290

Before Change


                           new_callable=mock.PropertyMock, return_value=False), \
         mock.patch.object(extended.__class__, "should_save_summary",
                           new_callable=mock.PropertyMock, return_value=False):
      model_dir = self.get_temp_dir()
      self.run_training(
          distribution, model_dir, steps_per_loop=10, run_eagerly=False)
      self.assertEmpty(tf.io.gfile.listdir(model_dir))

After Change


                           new_callable=mock.PropertyMock, return_value=False), \
         mock.patch.object(extended.__class__, "should_save_summary",
                           new_callable=mock.PropertyMock, return_value=False):
      model_dir = self.create_tempdir().full_path
      self.run_training(
          distribution, model_dir, steps_per_loop=10, run_eagerly=False)
      self.assertEmpty(tf.io.gfile.listdir(model_dir))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 10

Non-data size: 3

Instances


Project Name: tensorflow/models
Commit Name: 4dc945c08ab5537b9b1e6e3ed8ff7073e404c77d
Time: 2020-10-26
Author: wcromar@google.com
File Name: official/nlp/bert/model_training_utils_test.py
Class Name: ModelTrainingUtilsTest
Method Name: test_train_check_artifacts_non_chief


Project Name: tensorflow/models
Commit Name: 4dc945c08ab5537b9b1e6e3ed8ff7073e404c77d
Time: 2020-10-26
Author: wcromar@google.com
File Name: official/nlp/bert/model_training_utils_test.py
Class Name: ModelTrainingUtilsTest
Method Name: test_train_eager_single_step


Project Name: tensorflow/models
Commit Name: 4dc945c08ab5537b9b1e6e3ed8ff7073e404c77d
Time: 2020-10-26
Author: wcromar@google.com
File Name: official/vision/image_classification/classifier_trainer_test.py
Class Name: ClassifierTest
Method Name: test_gpu_train


Project Name: tensorflow/models
Commit Name: 4dc945c08ab5537b9b1e6e3ed8ff7073e404c77d
Time: 2020-10-26
Author: wcromar@google.com
File Name: official/nlp/bert/model_training_utils_test.py
Class Name: ModelTrainingUtilsTest
Method Name: test_train_check_callbacks


Project Name: tensorflow/models
Commit Name: 4dc945c08ab5537b9b1e6e3ed8ff7073e404c77d
Time: 2020-10-26
Author: wcromar@google.com
File Name: official/nlp/bert/model_training_utils_test.py
Class Name: ModelTrainingUtilsTest
Method Name: test_train_eager_mixed_precision


Project Name: tensorflow/models
Commit Name: 4dc945c08ab5537b9b1e6e3ed8ff7073e404c77d
Time: 2020-10-26
Author: wcromar@google.com
File Name: official/vision/image_classification/classifier_trainer_test.py
Class Name: ClassifierTest
Method Name: test_end_to_end_train_and_eval


Project Name: tensorflow/models
Commit Name: 4dc945c08ab5537b9b1e6e3ed8ff7073e404c77d
Time: 2020-10-26
Author: wcromar@google.com
File Name: official/vision/image_classification/classifier_trainer_test.py
Class Name: ClassifierTest
Method Name: test_end_to_end_invalid_mode


Project Name: tensorflow/models
Commit Name: 4dc945c08ab5537b9b1e6e3ed8ff7073e404c77d
Time: 2020-10-26
Author: wcromar@google.com
File Name: official/nlp/bert/model_training_utils_test.py
Class Name: ModelTrainingUtilsTest
Method Name: test_train_check_artifacts


Project Name: tensorflow/models
Commit Name: 4dc945c08ab5537b9b1e6e3ed8ff7073e404c77d
Time: 2020-10-26
Author: wcromar@google.com
File Name: official/vision/image_classification/mnist_test.py
Class Name: KerasMnistTest
Method Name: test_end_to_end


Project Name: tensorflow/models
Commit Name: 4dc945c08ab5537b9b1e6e3ed8ff7073e404c77d
Time: 2020-10-26
Author: wcromar@google.com
File Name: official/vision/image_classification/classifier_trainer_test.py
Class Name: ClassifierTest
Method Name: test_tpu_train