code: def test_reset_state():
      obj = GeometricMean()
      obj.update_state([1, 2, 3, 4, 5])
      obj.reset_state()
      assert obj.total.numpy() == 0.0
      assert obj.count.numpy() == 0.0
  
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 9 for calling a global function with example usage: test_reset_state() without return types