class_docstr: TFWriter uses tensorflow file writers and summary operations to write out
  tfevent files containing scalar batch metrics.
code: def reset(self) -> None:
      self.writer.close()
      self.writer.reopen()
  
file_path: determined/harness/determined/tensorboard/metric_writers/tensorflow.py
imports: import time
  from typing import Optional, Set, Union
  import numpy
  import tensorflow
  from packaging import version
  from tensorflow.core.framework import summary_pb2
  from tensorflow.core.util import event_pb2
  from tensorflow.python.summary.writer.event_file_writer import EventFileWriter
  from determined import tensorboard
label_desc: Use image node_id 5 for calling the TFWriter obj's underlying member method code with example usage: obj.reset() without return types