Return the default callbacks, which will be used in :class:`TrainConfig` and :meth:`Trainer.train_with_defaults`. They are: 1. MovingAverageSummary() 2. ProgressBar() 3. MergeAllSummaries() 4. RunUpdateOps()
()
| 18 | |
| 19 | |
| 20 | def DEFAULT_CALLBACKS(): |
| 21 | """ |
| 22 | Return the default callbacks, |
| 23 | which will be used in :class:`TrainConfig` and :meth:`Trainer.train_with_defaults`. |
| 24 | They are: |
| 25 | |
| 26 | 1. MovingAverageSummary() |
| 27 | 2. ProgressBar() |
| 28 | 3. MergeAllSummaries() |
| 29 | 4. RunUpdateOps() |
| 30 | """ |
| 31 | return [ |
| 32 | MovingAverageSummary(), |
| 33 | ProgressBar(), |
| 34 | MergeAllSummaries(), |
| 35 | RunUpdateOps()] |
| 36 | |
| 37 | |
| 38 | def DEFAULT_MONITORS(): |
no test coverage detected