code: def assertAllClose(self, x1, x2, atol=1e-6, rtol=1e-6, msg=None):
      if not isinstance(x1, np.ndarray):
          x1 = backend.convert_to_numpy(x1)
      if not isinstance(x2, np.ndarray):
          x2 = backend.convert_to_numpy(x2)
      np.testing.assert_allclose(x1, x2, atol=atol, rtol=rtol)
  
imports: import json
  import shutil
  import tempfile
  import unittest
  import numpy
  import tree
  from keras import backend
  from keras import ops
  from keras import utils
  from keras.backend.common import is_float_dtype
  from keras.backend.common import standardize_dtype
  from keras.backend.common.global_state import clear_session
  from keras.backend.common.keras_tensor import KerasTensor
  from keras.models import Model
  from keras.utils import traceback_utils
label_desc: Use image node_id 4 for calling the TestCase obj's underlying member method code with example usage: obj.assertAllClose(x1, x2, atol, rtol, msg) without return types