class_docstr: A callback which logs module parameters as histograms to TensorBoard.
  https://pytorch.org/docs/stable/tensorboard.html#torch.utils.tensorboard.writer.SummaryWriter
  
  Args:
      logger: Either a :class:`torchtnt.loggers.tensorboard.TensorBoardLogger`
          or a :class:`torch.utils.tensorboard.SummaryWriter` instance.
code: def __init__(
      self, logger: Union[TensorBoardLogger, SummaryWriter]
  ) -> None:
      if isinstance(logger, TensorBoardLogger):
          logger = logger.writer
      self._writer: Optional[SummaryWriter] = logger
  
file_path: tnt/torchtnt/framework/callbacks/tensorboard_parameter_monitor.py
imports: from typing import Dict, Optional, Union
  import torch
  from torch.utils.tensorboard import SummaryWriter
  from torchtnt.framework.callback import Callback
  from torchtnt.framework.state import State
  from torchtnt.framework.unit import TTrainUnit
  from torchtnt.utils.loggers.tensorboard import TensorBoardLogger
label_desc: Use image node_id 1 to create a new TensorBoardParameterMonitor object from inherited base classes: Callback with example: obj = TensorBoardParameterMonitor(logger)