class_docstr: This abstract base class defines the API for summary writers.
class_docstr_tok: ["This","abstract","base","class","defines","the","API","for","summary","writers","."]
docstr: Flush and reset the summary writer.
docstr_tok: ["Flush","and","reset","the","summary","writer","."]
code: def reset(self):
      """
      Flush and reset the summary writer.
      """
      self.summary_writer.flush()
      self._init_counter += 1
      self._init_summary_writer(
          self._summary_writer_arg, init_counter=self._init_counter
      )
  
file_path: adversarial-robustness-toolbox/art/summary_writer.py
imports: from abc import ABC, abstractmethod
  from math import sqrt
  from typing import Dict, List, Optional, Union
  import numpy
label_desc: Use image node_id 5 for calling the SummaryWriter obj's underlying member method code with example usage: obj.reset() without return types