ray.train.trainer.BaseTrainer.fit#

BaseTrainer.fit() Result[source]#

Runs training.

Returns:

A Result object containing the training result.

Raises:

TrainingFailedError – If any failures during the execution of self.as_trainable(), or during the Tune execution loop.

PublicAPI (beta): This API is in beta and may change before becoming stable.