code: def __init__(self, value=0):
      super().__init__()
      self.value = value
  
imports: import os
  import unittest
  from unittest import skipIf
  from unittest.mock import ANY
  import numpy
  import torch
  import torch.nn
  import torchmetrics
  from poutyne import Metric, Model, do_register_metric_class, rename_doubles, unregister_metric_class
label_desc: Use image node_id 1 to create a new MyConstTorchMetric object from inherited base classes: torchmetrics with example: obj = MyConstTorchMetric(value)