d41ed9344a5bc5587c826061bbc265647dd58b73,official/utils/logs/hooks_test.py,ExamplesPerSecondHookTest,test_examples_per_sec_every_1_steps_with_warm_steps,#ExamplesPerSecondHookTest#,107

Before Change


      self._validate_log_every_n_steps(sess, 5, 0)

  def test_examples_per_sec_every_1_steps_with_warm_steps(self):
    with self.graph.as_default(), tf.Session() as sess:
      self._validate_log_every_n_steps(sess, 1, 10)

  def test_examples_per_sec_every_5_steps_with_warm_steps(self):
    with self.graph.as_default(), tf.Session() as sess:
      self._validate_log_every_n_steps(sess, 5, 10)

After Change



  def test_examples_per_sec_every_1_steps_with_warm_steps(self):
    with self.graph.as_default():
      self._validate_log_every_n_steps(1, 10)

  def test_examples_per_sec_every_5_steps_with_warm_steps(self):
    with self.graph.as_default():
      self._validate_log_every_n_steps(5, 10)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: tensorflow/models
Commit Name: d41ed9344a5bc5587c826061bbc265647dd58b73
Time: 2018-05-30
Author: 36285763+yhliang2018@users.noreply.github.com
File Name: official/utils/logs/hooks_test.py
Class Name: ExamplesPerSecondHookTest
Method Name: test_examples_per_sec_every_1_steps_with_warm_steps


Project Name: tensorflow/models
Commit Name: d41ed9344a5bc5587c826061bbc265647dd58b73
Time: 2018-05-30
Author: 36285763+yhliang2018@users.noreply.github.com
File Name: official/utils/logs/hooks_test.py
Class Name: ExamplesPerSecondHookTest
Method Name: test_examples_per_sec_every_5_steps


Project Name: tensorflow/models
Commit Name: d41ed9344a5bc5587c826061bbc265647dd58b73
Time: 2018-05-30
Author: 36285763+yhliang2018@users.noreply.github.com
File Name: official/utils/logs/hooks_test.py
Class Name: ExamplesPerSecondHookTest
Method Name: test_examples_per_sec_every_1_steps


Project Name: tensorflow/models
Commit Name: d41ed9344a5bc5587c826061bbc265647dd58b73
Time: 2018-05-30
Author: 36285763+yhliang2018@users.noreply.github.com
File Name: official/utils/logs/hooks_test.py
Class Name: ExamplesPerSecondHookTest
Method Name: test_examples_per_sec_every_5_steps_with_warm_steps