mxnet.callback.log_train_metric¶
-
mxnet.callback.
log_train_metric
(period, auto_reset=False)[source]¶ Callback to log the training evaluation result every period.
- Parameters
period (int) – The number of batch to log the training evaluation metric.
auto_reset (bool) – Reset the metric after each log.
- Returns
callback – The callback function that can be passed as iter_epoch_callback to fit.
- Return type
function