docstr: Clear the internal statistics to initial state.
docstr_tok: ["Clear","the","internal","statistics","to","initial","state","."]
code: def reset(self):
      """Clear the internal statistics to initial state."""
      if isinstance(self.name, str):
          self.num_inst = 0
          self.sum_metric = 0.0
      else:
          # print('reset to ',len(self.name), self.name, file=sys.stderr)
          self.num_inst = [0] * len(self.name)
          self.sum_metric = [0.0] * len(self.name)
  
imports: from __future__ import print_function
  import sys
  import mxnet
  import numpy
  from rcnn.config import config
label_desc: Use image node_id 2 for calling the RPNAccMetric obj's underlying member method code with example usage: obj.reset() without return types