Called right before each epoch. Usually you should use the :meth:`trigger` callback to run something between epochs. Use this method only when something really needs to be run **immediately** before each epoch.
(self)
| 84 | self._before_epoch() |
| 85 | |
| 86 | def _before_epoch(self): |
| 87 | """ |
| 88 | Called right before each epoch. |
| 89 | Usually you should use the :meth:`trigger` callback to run something between epochs. |
| 90 | Use this method only when something really needs to be run **immediately** before each epoch. |
| 91 | """ |
| 92 | pass |
| 93 | |
| 94 | def after_epoch(self): |
| 95 | self._after_epoch() |