Interface TrainingListener

    • Method Detail

      • onEpoch

        void onEpoch​(Trainer trainer)
        Listens to the end of an epoch during training.
        Parameters:
        trainer - the trainer the listener is attached to
      • onTrainingBatch

        void onTrainingBatch​(Trainer trainer,
                             TrainingListener.BatchData batchData)
        Listens to the end of training one batch of data during training.
        Parameters:
        trainer - the trainer the listener is attached to
        batchData - the data from the batch
      • onValidationBatch

        void onValidationBatch​(Trainer trainer,
                               TrainingListener.BatchData batchData)
        Listens to the end of validating one batch of data during validation.
        Parameters:
        trainer - the trainer the listener is attached to
        batchData - the data from the batch
      • onTrainingBegin

        void onTrainingBegin​(Trainer trainer)
        Listens to the beginning of training.
        Parameters:
        trainer - the trainer the listener is attached to
      • onTrainingEnd

        void onTrainingEnd​(Trainer trainer)
        Listens to the end of training.
        Parameters:
        trainer - the trainer the listener is attached to