ray.train.torch.TorchTrainer.fit#

TorchTrainer.fit() Result#

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.