onTrainBatchBegin

open fun onTrainBatchBegin(batch: Int, batchSize: Int, logs: TrainingHistory)

Called at the beginning of a batch during training phase.

Parameters

batch

the batch index.

batchSize

Number of samples in the current batch.

logs

training history, containing full information about previous epochs.