LogStatsWriter¶
- class maze.core.log_stats.log_stats.LogStatsWriter¶
A minimal interface concrete log statistics writers must implement.
- abstract write(path: str | None, step: int, stats: Dict[LogStatsKey, int | float | numpy.ndarray | dict]) None¶
Write the passed statistics dictionary to the log.
- Parameters:
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