class_docstr: Base class for all accuracies plugin metrics
class_docstr_tok: ["Base","class","for","all","accuracies","plugin","metrics"]
code: def reset(self) -> None:
      self._metric.reset()
  
imports: from typing import List, Optional, Union, Dict
  import torch
  from torch import Tensor
  from avalanche.evaluation import Metric, GenericPluginMetric
  from avalanche.evaluation.metrics.mean import Mean
  from collections import defaultdict
label_desc: Use image node_id 2 for calling the AccuracyPerTaskPluginMetric obj's underlying member method code with example usage: obj.reset() without return types