code: def test_serialization(self, correlation_type):
      actuals = np.array([4, 4, 3, 3, 2, 2, 1, 1], dtype=np.int32)
      preds = np.array([1, 2, 4, 1, 3, 3, 4, 4], dtype=np.int32)
  
      kt = correlation_type(0, 5, 0, 5, 10, 10)
      check_metric_serialization(kt, actuals, preds)
  
file_path: addons/tensorflow_addons/metrics/tests/streaming_correlations_test.py
imports: import pytest
  import numpy
  import tensorflow
  from scipy import stats
  from tensorflow_addons.metrics import KendallsTauB
  from tensorflow_addons.metrics import KendallsTauC
  from tensorflow_addons.metrics import PearsonsCorrelation
  from tensorflow_addons.metrics import SpearmansRank
  from tensorflow_addons.testing.serialization import check_metric_serialization
label_desc: Use image node_id 7 for calling the TestStreamingCorrelations obj's underlying member method code with example usage: obj.test_serialization(correlation_type) without return types