code: def get_test_data():
      return [
          ([np.inf] * 2, 0),
          ([0, 0, 0, 0], 0),
          ([1, 4, 4], 2.0),
          ([0, 0, 0, 0, 0, 0, 0, 1, 2, 6], 0),
          ([0.2, 0.5, 0.3, 0.6, 0.1, 0.7], 0.25609756),
          ([8, 4, 1, 7, 2, 11, 9, 22, 52], 3.9394846),
          ([8.2, 9.7, 9.1, 2.7, 1.1, 2.0], 2.8376906),
          ([0.6666666, 0.215213, 0.15167], 0.23548213),
      ]
  
file_path: addons/tensorflow_addons/metrics/tests/harmonic_mean_test.py
imports: import numpy
  import pytest
  import tensorflow
  from tensorflow_addons.metrics import HarmonicMean
label_desc: Use image node_id 1 for calling a global function with example usage: get_test_data() and returns: list