code: def check_results(obj, value):
      np.testing.assert_allclose(value, obj.result(), atol=1e-5)
  
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 5 for calling a global function with example usage: check_results(obj, value) without return types