ray.rllib.utils.metrics.metrics_logger.MetricsLogger.peek_results#

static MetricsLogger.peek_results(results: Any) Any[source]#

Performs peek() on any leaf element of an arbitrarily nested Stats struct.

Parameters:

results – The nested structure of Stats-leafs to be peek’d and returned.

Returns:

A corresponding structure of the peek’d results (reduced float/int values; no Stats objects).