Searched refs:elapsed_steps (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/python/training/ |
D | basic_session_run_hooks.py | 145 elapsed_steps = None 148 elapsed_steps = step - self._last_triggered_step 152 return (elapsed_secs, elapsed_steps) 695 def _log_and_record(self, elapsed_steps, elapsed_time, global_step): argument 696 steps_per_sec = elapsed_steps / elapsed_time 713 elapsed_time, elapsed_steps = self._timer.update_last_triggered_step( 716 self._log_and_record(elapsed_steps, elapsed_time, global_step)
|
D | basic_session_run_hooks_test.py | 131 elapsed_secs, elapsed_steps = timer.update_last_triggered_step(1) 133 self.assertEqual(None, elapsed_steps) 135 elapsed_secs, elapsed_steps = timer.update_last_triggered_step(5) 137 self.assertEqual(4, elapsed_steps) 139 elapsed_secs, elapsed_steps = timer.update_last_triggered_step(7) 141 self.assertEqual(2, elapsed_steps)
|