code: def allclose(a, b, rtol=1e-4, atol=1e-4):
      return np.allclose(
          tf.convert_to_tensor(a).numpy(),
          tf.convert_to_tensor(b).numpy(),
          rtol=rtol,
          atol=atol,
      )
  
imports: from __future__ import absolute_import
  import numpy
  import tensorflow
  from scipy.sparse import coo_matrix
label_desc: Use image node_id 4 for calling a global function with example usage: allclose(a, b, rtol, atol) and returns: np