class_docstr: Saves data in event and summary protos for tensorboard.
class_docstr_tok: ["Saves","data","in","event","and","summary","protos","for","tensorboard","."]
docstr: Close SummaryWriter. Final!
docstr_tok: ["Close","SummaryWriter",".","Final","!"]
code: def close(self):
      """Close SummaryWriter. Final!"""
      if not self._closed:
          self._event_writer.close()
          self._closed = True
          del self._event_writer
  
file_path: flax/flax/metrics/tensorboard.py
imports: import contextlib
  import functools
  import os
  import numpy
  import tensorflow
  from tensorboard.plugins.hparams import api
  from flax import io
label_desc: Use image node_id 2 for calling the SummaryWriter obj's underlying member method code with example usage: obj.close() without return types