code: def reset(self) -> None:
      # flush AND close the writer so that the next attempt to write will create a new file
      self.writer.close()
  
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 3 for calling the _TorchWriter obj's underlying member method code with example usage: obj.reset() without return types