code: def __init__(self):
      super().__init__()
      self.reset()
  
file_path: poutyne/examples/medium_post/train_with_custom_metrics.py
imports: import torch
  import torch.nn
  from torch.utils.data import random_split
  from torchvision.datasets import MNIST
  from torchvision.transforms import ToTensor
  from poutyne import Model, Metric
label_desc: Use image node_id 1 to create a new MyAccuracyMetric object from inherited base classes: Metric with example: obj = MyAccuracyMetric()