code: def __init__(self) -> None:
      super().__init__()
  
      self.writer: Any = SummaryWriter(
          log_dir=tensorboard.get_base_path({})
      )
  
file_path: determined/harness/determined/tensorboard/metric_writers/pytorch.py
imports: import warnings
  from typing import Any, Union
  import numpy
  import torch
  from packaging import version
  from determined import tensorboard
  from torch.utils.tensorboard import SummaryWriter
label_desc: Use image node_id 1 to create a new _TorchWriter object from inherited base classes: tensorboard with example: obj = _TorchWriter()