code: def test_call_gmean(values, expected):
      obj = GeometricMean()
      result = obj(tf.constant(values, tf.float32))
      count = obj.count.numpy()
      assert_result(expected, result)
      np.testing.assert_equal(len(values), count)
  
file_path: addons/tensorflow_addons/metrics/tests/geometric_mean_test.py
imports: import numpy
  import pytest
  import tensorflow
  from tensorflow_addons.metrics import GeometricMean
label_desc: Use image node_id 8 for calling a global function with example usage: test_call_gmean(values, expected) without return types