docstr: ivy.Container instance method variant of ivy.all_equal. This method
  simply wraps the function, and so the docstring for ivy.all_equal also
  applies to this method with minimal changes.
  
  Parameters
  ----------
  self
      input container.
  xs
      arrays or containers to be compared to ``self``.
  equality_matrix
      Whether to return a matrix of equalities comparing each input with every
      other. Default is ``False``.
  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``.
  
  Returns
  -------
  ret
      Boolean, whether or not the inputs are equal, or matrix container of
      booleans if equality_matrix=True is set.
  
  Examples
  --------
  With one :class:`ivy.Container` instances:
  
  >>> x1 = ivy.Container(a=ivy.array([1, 0, 1, 1]), b=ivy.array([1, -1, 0, 0]))
  >>> x2 = ivy.array([1, 0, 1, 1])
  >>> y = x1.all_equal(x2, equality_matrix= False)
  >>> print(y)
  {
      a: True,
      b: False
  }
  
  >>> x1 = ivy.Container(a=ivy.array([1, 0, 1, 1]), b=ivy.array([1, -1, 0, 0]))
  >>> x2 = ivy.array([1, 0, 1, 1])
  >>> y = x1.all_equal(x2, equality_matrix= False)
  >>> print(y)
  {
      a: True,
      b: False
  }
  
  With multiple :class:`ivy.Container` instances:
  
  >>> x1 = ivy.Container(a=ivy.native_array([1, 0, 0]),
  ...                    b=ivy.array([1, 2, 3]))
  >>> x2 = ivy.Container(a=ivy.native_array([1, 0, 1]),
  ...                    b=ivy.array([1, 2, 3]))
  >>> y = x1.all_equal(x2, equality_matrix= False)
  >>> print(y)
  {
      a: False,
      b: True
  }
  
  >>> x1 = ivy.Container(a=ivy.native_array([1, 0, 0]),
  ...                    b=ivy.array([1, 2, 3]))
  >>> x2 = ivy.Container(a=ivy.native_array([1, 0, 1]),
  ...                    b=ivy.array([1, 2, 3]))
  >>> y = x1.all_equal(x2, equality_matrix= False)
  >>> print(y)
  {
      a: False,
      b: True
  }
docstr_tok: ["ivy.Container","instance","method","variant","of","ivy.all_equal",".","This","method","simply","wraps","the","function",",","and","so","the","docstring","for","ivy.all_equal","also","applies","to","this","method","with","minimal","changes",".","Parameters","--","--","--","--","--","self","input","container",".","xs","arrays","or","containers","to","be","compared","to","``","self","``",".","equality_matrix","Whether","to","return","a","matrix","of","equalities","comparing","each","input","with","every","other",".","Default","is","``","False","``",".","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","``",".","Returns","--","--","--","-","ret","Boolean",",","whether","or","not","the","inputs","are","equal",",","or","matrix","container","of","booleans","if","equality_matrix=True","is","set",".","Examples","--","--","--","--","With","one",":","class",":","`","ivy.Container","`","instances",":",">",">",">","x1","=","ivy.Container","(","a=ivy.array","(","[","1",",","0",",","1",",","1","]",")",",","b=ivy.array","(","[","1",",","-1",",","0",",","0","]",")",")",">",">",">","x2","=","ivy.array","(","[","1",",","0",",","1",",","1","]",")",">",">",">","y","=","x1.all_equal","(","x2",",","equality_matrix=","False",")",">",">",">","print","(","y",")","{","a",":","True",",","b",":","False","}",">",">",">","x1","=","ivy.Container","(","a=ivy.array","(","[","1",",","0",",","1",",","1","]",")",",","b=ivy.array","(","[","1",",","-1",",","0",",","0","]",")",")",">",">",">","x2","=","ivy.array","(","[","1",",","0",",","1",",","1","]",")",">",">",">","y","=","x1.all_equal","(","x2",",","equality_matrix=","False",")",">",">",">","print","(","y",")","{","a",":","True",",","b",":","False","}","With","multiple",":","class",":","`","ivy.Container","`","instances",":",">",">",">","x1","=","ivy.Container","(","a=ivy.native_array","(","[","1",",","0",",","0","]",")",",","...","b=ivy.array","(","[","1",",","2",",","3","]",")",")",">",">",">","x2","=","ivy.Container","(","a=ivy.native_array","(","[","1",",","0",",","1","]",")",",","...","b=ivy.array","(","[","1",",","2",",","3","]",")",")",">",">",">","y","=","x1.all_equal","(","x2",",","equality_matrix=","False",")",">",">",">","print","(","y",")","{","a",":","False",",","b",":","True","}",">",">",">","x1","=","ivy.Container","(","a=ivy.native_array","(","[","1",",","0",",","0","]",")",",","...","b=ivy.array","(","[","1",",","2",",","3","]",")",")",">",">",">","x2","=","ivy.Container","(","a=ivy.native_array","(","[","1",",","0",",","1","]",")",",","...","b=ivy.array","(","[","1",",","2",",","3","]",")",")",">",">",">","y","=","x1.all_equal","(","x2",",","equality_matrix=","False",")",">",">",">","print","(","y",")","{","a",":","False",",","b",":","True","}"]
code: def all_equal(
      self: ivy.Container,
      *xs: Union[Iterable[Any], ivy.Container],
      equality_matrix: 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,
  ) -> ivy.Container:
      """ivy.Container instance method variant of ivy.all_equal. This method
      simply wraps the function, and so the docstring for ivy.all_equal also
      applies to this method with minimal changes.
  
      Parameters
      ----------
      self
          input container.
      xs
          arrays or containers to be compared to ``self``.
      equality_matrix
          Whether to return a matrix of equalities comparing each input with every
          other. Default is ``False``.
      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``.
  
      Returns
      -------
      ret
          Boolean, whether or not the inputs are equal, or matrix container of
          booleans if equality_matrix=True is set.
  
      Examples
      --------
      With one :class:`ivy.Container` instances:
  
      >>> x1 = ivy.Container(a=ivy.array([1, 0, 1, 1]), b=ivy.array([1, -1, 0, 0]))
      >>> x2 = ivy.array([1, 0, 1, 1])
      >>> y = x1.all_equal(x2, equality_matrix= False)
      >>> print(y)
      {
          a: True,
          b: False
      }
  
      >>> x1 = ivy.Container(a=ivy.array([1, 0, 1, 1]), b=ivy.array([1, -1, 0, 0]))
      >>> x2 = ivy.array([1, 0, 1, 1])
      >>> y = x1.all_equal(x2, equality_matrix= False)
      >>> print(y)
      {
          a: True,
          b: False
      }
  
      With multiple :class:`ivy.Container` instances:
  
      >>> x1 = ivy.Container(a=ivy.native_array([1, 0, 0]),
      ...                    b=ivy.array([1, 2, 3]))
      >>> x2 = ivy.Container(a=ivy.native_array([1, 0, 1]),
      ...                    b=ivy.array([1, 2, 3]))
      >>> y = x1.all_equal(x2, equality_matrix= False)
      >>> print(y)
      {
          a: False,
          b: True
      }
  
      >>> x1 = ivy.Container(a=ivy.native_array([1, 0, 0]),
      ...                    b=ivy.array([1, 2, 3]))
      >>> x2 = ivy.Container(a=ivy.native_array([1, 0, 1]),
      ...                    b=ivy.array([1, 2, 3]))
      >>> y = x1.all_equal(x2, equality_matrix= False)
      >>> print(y)
      {
          a: False,
          b: True
      }
      """
      return self._static_all_equal(
          self,
          *xs,
          equality_matrix=equality_matrix,
          key_chains=key_chains,
          to_apply=to_apply,
          prune_unapplied=prune_unapplied,
          map_sequences=map_sequences,
      )
  
imports: from numbers import Number
  from typing import Any, Union, List, Dict, Iterable, Optional, Callable
  from ivy.data_classes.container.base import ContainerBase
  import ivy
label_desc: Use image node_id 18 for calling the _ContainerWithGeneral obj's underlying member method code with example usage: obj.all_equal() and returns: self