docstr: ivy.Container instance method variant of ivy.allclose. This method
  simply wraps the function, and so the docstring for ivy.allclose also
  applies to this method with minimal changes.
  
  Parameters
  ----------
  self
      Input container containing first input array.
  x2
      Input container containing second input array.
  rtol
      The relative tolerance parameter.
  atol
      The absolute tolerance parameter.
  equal_nan
      Whether to compare NaN's as equal. If True, NaN's in x1 will be
      considered equal to NaN's in x2 in the output array.
  key_chains
      The key-chains to apply or not apply the method to. Default is ``None``.
  to_apply
      If True, the method will be applied to key_chains, otherwise key_chains
      will be skipped. Default is ``True``.
  prune_unapplied
      Whether to prune key_chains for which the function was not applied.
      Default is ``False``.
  map_sequences
      Whether to also map method to sequences (lists, tuples).
      Default is ``False``.
  out
      Alternate output array in which to place the result.
      The default is None.
  
  Returns
  -------
  ret
      A new container holding the result is returned unless out is specified,
      in which it is returned.
  
  Examples
  --------
  >>> x1 = ivy.Container(a=ivy.array([1., 2., 3.]), b=ivy.array([1., 2., 3.]))
  >>> x2 = ivy.Container(a=ivy.array([1., 2., 3.]), b=ivy.array([1., 2., 3.]))
  >>> y = x1.allclose(x2)
  >>> print(y)
  {
      a: ivy.array(True),
      b: ivy.array(True)
  }
  
  >>> x1 = ivy.Container(a=ivy.array([1., 2., 3.]),
  ...                         b=ivy.array([1., 2., 3.]))
  >>> x2 = ivy.Container(a=ivy.array([1., 2., 3.0003]),
  ...                         b=ivy.array([1.0006, 2., 3.]))
  >>> y = x1.allclose(x2, rtol=1e-3)
  >>> print(y)
  {
      a: ivy.array(True),
      b: ivy.array(True)
  }
code: def allclose(
      self: ivy.Container,
      x2: ivy.Container,
      /,
      *,
      rtol: Union[float, ivy.Container] = 1e-05,
      atol: Union[float, ivy.Container] = 1e-08,
      equal_nan: Union[bool, ivy.Container] = False,
      key_chains: Optional[
          Union[List[str], Dict[str, str], ivy.Container]
      ] = None,
      to_apply: Union[bool, ivy.Container] = True,
      prune_unapplied: Union[bool, ivy.Container] = False,
      map_sequences: Union[bool, ivy.Container] = False,
      out: Optional[ivy.Container] = None,
  ) -> ivy.Container:
      """ivy.Container instance method variant of ivy.allclose. This method
      simply wraps the function, and so the docstring for ivy.allclose also
      applies to this method with minimal changes.
  
      Parameters
      ----------
      self
          Input container containing first input array.
      x2
          Input container containing second input array.
      rtol
          The relative tolerance parameter.
      atol
          The absolute tolerance parameter.
      equal_nan
          Whether to compare NaN's as equal. If True, NaN's in x1 will be
          considered equal to NaN's in x2 in the output array.
      key_chains
          The key-chains to apply or not apply the method to. Default is ``None``.
      to_apply
          If True, the method will be applied to key_chains, otherwise key_chains
          will be skipped. Default is ``True``.
      prune_unapplied
          Whether to prune key_chains for which the function was not applied.
          Default is ``False``.
      map_sequences
          Whether to also map method to sequences (lists, tuples).
          Default is ``False``.
      out
          Alternate output array in which to place the result.
          The default is None.
  
      Returns
      -------
      ret
          A new container holding the result is returned unless out is specified,
          in which it is returned.
  
      Examples
      --------
      >>> x1 = ivy.Container(a=ivy.array([1., 2., 3.]), b=ivy.array([1., 2., 3.]))
      >>> x2 = ivy.Container(a=ivy.array([1., 2., 3.]), b=ivy.array([1., 2., 3.]))
      >>> y = x1.allclose(x2)
      >>> print(y)
      {
          a: ivy.array(True),
          b: ivy.array(True)
      }
  
      >>> x1 = ivy.Container(a=ivy.array([1., 2., 3.]),
      ...                         b=ivy.array([1., 2., 3.]))
      >>> x2 = ivy.Container(a=ivy.array([1., 2., 3.0003]),
      ...                         b=ivy.array([1.0006, 2., 3.]))
      >>> y = x1.allclose(x2, rtol=1e-3)
      >>> print(y)
      {
          a: ivy.array(True),
          b: ivy.array(True)
      }
      """
      return self.static_allclose(
          self,
          x2,
          rtol=rtol,
          atol=atol,
          equal_nan=equal_nan,
          key_chains=key_chains,
          to_apply=to_apply,
          prune_unapplied=prune_unapplied,
          map_sequences=map_sequences,
          out=out,
      )
  
imports: from typing import Optional, Union, List, Dict, Tuple, Sequence
  from numbers import Number
  import ivy
  from ivy.data_classes.container.base import ContainerBase
label_desc: Use image node_id 26 for calling the _ContainerWithElementWiseExperimental obj's underlying member method code with example usage: obj.allclose() and returns: self