Log metrics.
(self, data: dict, step: int, commit: bool = False)
| 150 | self.log(data={table_name: experiences_table}, step=step) |
| 151 | |
| 152 | def log(self, data: dict, step: int, commit: bool = False) -> None: |
| 153 | """Log metrics.""" |
| 154 | self.logger.log(data, step=step, commit=commit) |
| 155 | self.console_logger.info(f"{self.format_data_str(data, step)}") |
| 156 | |
| 157 | def close(self) -> None: |
| 158 | self.logger.finish() |
no test coverage detected