class maze.core.log_stats.log_stats.LogStatsWriter

A minimal interface concrete log statistics writers must implement.


Close writer and clean up.

abstract write(path: Optional[str], step: int, stats: Dict[maze.core.log_stats.log_stats.LogStatsKey, Union[int, float, numpy.ndarray, dict]])None

Write the passed statistics dictionary to the log.

  • path – This can be a path-like string to organize the log into different sections.

  • step – The step number associated with the passed statistics

  • stats – The statistics dictionary

:return None