code: def allclose(
      x1: paddle.Tensor,
      x2: paddle.Tensor,
      /,
      *,
      rtol: Optional[float] = 1e-05,
      atol: Optional[float] = 1e-08,
      equal_nan: Optional[bool] = False,
      out: Optional[paddle.Tensor] = None,
  ) -> bool:
      return paddle.allclose(
          x1, x2, rtol=rtol, atol=atol, equal_nan=equal_nan
      ).squeeze(0)
  
imports: import operator
  from typing import Optional, Union, Tuple, List, Sequence
  from numbers import Number
  import paddle
  from ivy.utils.exceptions import IvyNotImplementedException
  from ivy.func_wrapper import with_supported_dtypes, with_unsupported_device_and_dtypes, with_unsupported_dtypes
  import ivy.functional.backends.paddle
  import ivy
  from ivy import promote_types_of_inputs
  from ivy.functional.backends.paddle.elementwise import _elementwise_helper
  from ..None import backend_version
label_desc: Use image node_id 15 for calling a global function with example usage: allclose() and returns: paddle