code: def reset_obj_state(obj):
      obj.reset_state()
  
imports: import numpy
  import pytest
  import tensorflow
  from sklearn.metrics import r2_score
  from tensorflow_addons.metrics import RSquare
  from tensorflow_addons.metrics.r_square import _VALID_MULTIOUTPUT
label_desc: Use image node_id 4 for calling a global function with example usage: reset_obj_state(obj) without return types