code: def test_check_metric_serialization_true_negative():
      check_metric_serialization(
          TrueNegatives(0.8),
          np.random.uniform(0, 2, size=(2, 2)).astype(bool),
          np.random.uniform(0, 1, size=(2, 2)).astype(np.float32),
      )
  
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 3 for calling a global function with example usage: test_check_metric_serialization_true_negative() without return types