code: def update_state(self, y_true, y_pred, sample_weights=None):
      self.sum_of_y_pred.assign_add(
          tf.math.reduce_sum(y_pred) + self.to_add
      )
  
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 2 for calling the MyOtherDummyMetric obj's underlying member method code with example usage: obj.update_state(y_true, y_pred, sample_weights) without return types