|
virtual | ~ModelCallback ()=default |
|
virtual void | onBatchBegin (size_t batch) |
| Called at the beginning of each batch.
|
|
virtual void | onBatchEnd (size_t batch, const std::unordered_map< std::string, float > &metrics) |
| Called at the end of each batch.
|
|
virtual void | onEpochBegin (size_t epoch) |
| Called at the beginning of each epoch.
|
|
virtual void | onEpochEnd (size_t epoch, const std::unordered_map< std::string, float > &metrics) |
| Called at the end of each epoch.
|
|
virtual void | onTrainingBegin () |
| Called at the beginning of training.
|
|
virtual void | onTrainingEnd () |
| Called at the end of training.
|
|
template<typename TInput, typename TPrecision>
class Mila::Dnn::ModelCallback< TInput, TPrecision >
Interface for callbacks during training.