code: def test_check_metric_serialization_mae():
      check_metric_serialization(MeanAbsoluteError(), (2, 2), (2, 2))
      check_metric_serialization(
          MeanAbsoluteError(name="hello"), (2, 2), (2, 2)
      )
      check_metric_serialization(
          MeanAbsoluteError(), (2, 2, 2), (2, 2, 2)
      )
      check_metric_serialization(
          MeanAbsoluteError(), (2, 2, 2), (2, 2, 2), (2, 2, 1)
      )
  
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 for calling a global function with example usage: test_check_metric_serialization_mae() without return types