code: def __init__(self, to_add, name=None, dtype=None):
      super().__init__(name, dtype)
      self.to_add = to_add
      self.sum_of_y_pred = self.add_weight(
          name="my_sum", initializer="zeros"
      )
  
imports: import numpy
  import pytest
  import tensorflow
  from tensorflow.keras.metrics import MeanAbsoluteError, TrueNegatives, Metric
  from tensorflow_addons.testing.serialization import check_metric_serialization
label_desc: Use image node_id 1 to create a new MyOtherDummyMetric object from inherited base classes: Metric with example: obj = MyOtherDummyMetric(to_add, name, dtype)