class_docstr: Plugin that takes care of tensorboard logging.
class_docstr_tok: ["Plugin","that","takes","care","of","tensorboard","logging","."]
code: def get_state(self) -> Dict[str, Any]:
      return {
          **super().get_state(),
          "log_dir": str(self.log_dir)
          if self.log_dir is not None
          else None,
          "comment": self.comment,
          "tracked_metrics": self.tracked_metrics,
      }
  
file_path: flair/flair/trainers/plugins/loggers/tensorboard.py
imports: import logging
  import os
  from typing import Any, Dict
  from flair.trainers.plugins.base import TrainerPlugin
  from flair.training_utils import log_line
label_desc: Use image node_id 4 for calling the TensorboardLogger obj's underlying member method code with example usage: obj.get_state() and returns: dict