The tensorflow global_step, i.e. how many times ``hooked_sess.run`` has been called. Note: 1. global_step is incremented **after** each ``hooked_sess.run`` returns from TF runtime. 2. If you make zero or more than one calls to ``hooked_sess.run`` in one
(self)
| 70 | |
| 71 | @property |
| 72 | def global_step(self): |
| 73 | """ |
| 74 | The tensorflow global_step, i.e. how many times ``hooked_sess.run`` has been called. |
| 75 | |
| 76 | Note: |
| 77 | 1. global_step is incremented **after** each ``hooked_sess.run`` returns from TF runtime. |
| 78 | 2. If you make zero or more than one calls to ``hooked_sess.run`` in one |
| 79 | :meth:`run_step`, local_step and global_step may increment at different speed. |
| 80 | """ |
| 81 | return self._global_step |
| 82 | |
| 83 | @property |
| 84 | def local_step(self): |
no outgoing calls
no test coverage detected