hosa.callbacks.early_stopping.EarlyStoppingAtMinLoss.on_test_batch_begin
- EarlyStoppingAtMinLoss.on_test_batch_begin(batch, logs=None)
Called at the beginning of a batch in evaluate methods.
Also called at the beginning of a validation batch in the fit methods, if validation data is provided.
Subclasses should override for any actions to run.
Note that if the steps_per_execution argument to compile in tf.keras.Model is set to N, this method will only be called every N batches.
- Parameters
batch – Integer, index of batch within the current epoch.
logs – Dict. Currently no data is passed to this argument for this method but that may change in the future.