metrics#

Algorithm.metrics: MetricsLogger | None = None#

The MetricsLogger instance of the Algorithm. RLlib uses this to log metrics from within the training_step() method. Users can use it to log metrics from within their custom Algorithm-based callbacks.