class_docstr: Saves model topology, losses & metrics for tensorboard and tensorboard projector during training
code: def __init__(
      self,
      log_dir=None,
      trace_model=True,
      log_preds=True,
      n_preds=9,
      projector=False,
      layer=None,
  ):
      super().__init__()
      store_attr()
  
imports: from __future__ import annotations
  from ..basics import *
  import tensorboard
  from torch.utils.tensorboard import SummaryWriter
  from .fp16 import ModelToHalf
  from .hook import hook_output
  from ..text.all import LMLearner, TextLearner
  from ..vision.data import *
  from ..vision.core import TensorPoint, TensorBBox
label_desc: Use image node_id 1 to create a new TensorBoardCallback object from inherited base classes: TensorBoardBaseCallback with example: obj = TensorBoardCallback(log_dir, trace_model, log_preds, n_preds, projector, layer)