def mock_init(self): self._log_fn = evaluation.TensorboardLogging(summary_dir)
def mock_init(self): self._logger = evaluation.TensorboardLogging(summary_dir) self._metrics_future = None self._metrics_executor = concurrent.futures.ThreadPoolExecutor( max_workers=1)