class_docstr: A tracker for TensorBoard.
code: def end_run(self, success: bool = True) -> None:  # noqa: D102
      self.writer.flush()
      self.writer.close()
  
file_path: pykeen/src/pykeen/trackers/tensorboard.py
imports: import pathlib
  import time
  from typing import TYPE_CHECKING, Any, Mapping, Optional, Union
  from .base import ResultTracker
  from ..constants import PYKEEN_LOGS
  from ..utils import flatten_dictionary, normalize_path
label_desc: Use image node_id 4 for calling the TensorBoardResultTracker obj's underlying member method code with example usage: obj.end_run(success) without return types