ray.tune.Trainable.step#
- Trainable.step()[source]#
Subclasses should override this to implement train().
The return value will be automatically passed to the loggers. Users can also return
tune.result.DONE
ortune.result.SHOULD_CHECKPOINT
as a key to manually trigger termination or checkpointing of this trial. Note that manual checkpointing only works when subclassing Trainables.Added in version 0.8.7.
- Returns:
A dict that describes training progress.