docstr: Resets the monitoring metrics. Called at the beginning of each epoch.
docstr_tok: ["Resets","the","monitoring","metrics",".","Called","at","the","beginning","of","each","epoch","."]
code: def _reset_metrics(self):
      """
      Resets the monitoring metrics. Called at the beginning of each epoch.
      """
      metrics = (
          self.metrics.values()
          if isinstance(self.metrics, dict)
          else self.metrics
      )
      for metric in metrics:
          metric.reset()
  
imports: import torch
  import torch.nn
  import torch.optim
  from torch.utils.data import DataLoader
  from tqdm import tqdm
  from typing import List, Dict, Callable, Union, Tuple, Optional
  from alibi.models.pytorch.metrics import Metric, LossContainer
label_desc: Use image node_id 12 for calling the Model obj's underlying member method code with example usage: obj._reset_metrics() without return types