ray.tune.Trainable.get_auto_filled_metrics
ray.tune.Trainable.get_auto_filled_metrics#
- Trainable.get_auto_filled_metrics(now: Optional[datetime.datetime] = None, time_this_iter: Optional[float] = None, timestamp: Optional[int] = None, debug_metrics_only: bool = False) dict [source]#
Return a dict with metrics auto-filled by the trainable.
If
debug_metrics_only
is True, only metrics that don’t require at least one iteration will be returned (ray.tune.result.DEBUG_METRICS
).