Package ai.djl.training
Contains classes and implementations to train a neural network.
- See Also:
Trainer
-
Interface Summary Interface Description GradientCollector An interface that provides a mechanism to collect gradients during training.ParameterServer An interface for a key-value store to store parameters, and their corresponding gradients.TrainingConfig An interface that is responsible for holding the configuration required byTrainer. -
Class Summary Class Description DefaultTrainingConfig DefaultTrainingConfigis an implementation of theTrainingConfiginterface.EasyTrain Helper for easy training of a whole model, a trainining batch, or a validation batch.LocalParameterServer LocalParameterServeris an implementation of theParameterServerinterface.ParameterStore TheParameterStorecontains a map from a parameter to the mirrors of it on other devices.Trainer TheTrainerinterface provides a session for model training.TrainingResult A class that is responsible for holding the training result produced byTrainer.