initialize() | (Re-)Set the initial state of the callback. |
on_batch_begin(net[, X, y, training]) | Called at the beginning of each batch. |
on_batch_end(net[, X, y, training]) | Called at the end of each batch. |
on_epoch_begin(net[, dataset_train, …]) | Called at the beginning of each epoch. |
on_epoch_end(net, **kwargs) | Log values from the last history step and save the best model. |
on_grad_computed(net, named_parameters[, X, …]) | Called once per batch after gradients are computed but before an update step is performed. |
on_train_begin(net, **kwargs) | Log model topology and add a hook for gradients. |
on_train_end(net[, X, y]) | Called at the end of training. |