code: def assert_allclose(a, b, rtol=gs.rtol, atol=gs.atol):
      if np_backend() or autograd_backend():
          return np.testing.assert_allclose(a, b, rtol=rtol, atol=atol)
  
      return assert_true(
          gs.allclose(a, b, rtol=rtol, atol=atol),
          msg=pytorch_error_msg(a, b, rtol, atol),
      )
  
file_path: geomstats/geomstats/test/test_case.py
imports: import inspect
  import numpy
  import pytest
  import geomstats.backend
label_desc: Use image node_id 6 for calling a global function with example usage: assert_allclose(a, b, rtol, atol) and returns: assert_true, np