code: def reset(self) -> None:
      self._type = None
      self._num_classes = None
  
file_path: ignite/ignite/metrics/accuracy.py
imports: from typing import Callable, Optional, Sequence, Tuple, Union
  import torch
  from ignite.exceptions import NotComputableError
  from ignite.metrics.metric import Metric, reinit__is_reduced, sync_all_reduce
label_desc: Use image node_id 2 for calling the _BaseClassification obj's underlying member method code with example usage: obj.reset() without return types