Home
last modified time | relevance | path

Searched refs:elapsed_steps (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/python/training/
Dbasic_session_run_hooks.py138 elapsed_steps = None
141 elapsed_steps = step - self._last_triggered_step
145 return (elapsed_secs, elapsed_steps)
674 def _log_and_record(self, elapsed_steps, elapsed_time, global_step): argument
675 steps_per_sec = elapsed_steps / elapsed_time
691 elapsed_time, elapsed_steps = self._timer.update_last_triggered_step(
694 self._log_and_record(elapsed_steps, elapsed_time, global_step)
Dbasic_session_run_hooks_test.py132 elapsed_secs, elapsed_steps = timer.update_last_triggered_step(1)
134 self.assertEqual(None, elapsed_steps)
136 elapsed_secs, elapsed_steps = timer.update_last_triggered_step(5)
138 self.assertEqual(4, elapsed_steps)
140 elapsed_secs, elapsed_steps = timer.update_last_triggered_step(7)
142 self.assertEqual(2, elapsed_steps)
/external/tensorflow/tensorflow/python/tpu/
Dtpu_estimator.py1987 def _log_and_record(self, elapsed_steps, elapsed_time, global_step): argument
1988 global_step_per_sec = elapsed_steps / elapsed_time