docstr: ivy.Container instance method variant of ivy.unique_all. This method
  simply wraps the function, and so the docstring for ivy.unique_all also
  applies to this method with minimal changes.
  
  Parameters
  ----------
  self
      input container.
  axis
      the axis to apply unique on. If None, the unique elements of the flattened
      ``x`` are returned.
  by_value
      If False, the unique elements will be sorted in the same order that they
      occur in ''x''. Otherwise, they will be sorted by value.
  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
      A container of namedtuples ``(values, indices, inverse_indices,
      counts)``. The details of each entry can be found in the docstring
      for ivy.unique_all.
  
  
  Examples
  --------
  >>> x = ivy.Container(a=ivy.array([0., 1., 3. , 2. , 1. , 0.]),
  ...                   b=ivy.array([1,2,1,3,4,1,3]))
  >>> y = x.unique_all()
  >>> print(y)
  [{
      a: ivy.array([0., 1., 2., 3.]),
      b: ivy.array([1, 2, 3, 4])
  }, {
      a: ivy.array([0, 1, 3, 2]),
      b: ivy.array([0, 1, 3, 4])
  }, {
      a: ivy.array([0, 1, 3, 2, 1, 0]),
      b: ivy.array([0, 1, 0, 2, 3, 0, 2])
  }, {
      a: ivy.array([2, 2, 1, 1]),
      b: ivy.array([3, 1, 2, 1])
  }]
docstr_tok: ["ivy.Container","instance","method","variant","of","ivy.unique_all",".","This","method","simply","wraps","the","function",",","and","so","the","docstring","for","ivy.unique_all","also","applies","to","this","method","with","minimal","changes",".","Parameters","--","--","--","--","--","self","input","container",".","axis","the","axis","to","apply","unique","on",".","If","None",",","the","unique","elements","of","the","flattened","``","x","``","are","returned",".","by_value","If","False",",","the","unique","elements","will","be","sorted","in","the","same","order","that","they","occur","in","``","x","''",".","Otherwise",",","they","will","be","sorted","by","value",".","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","A","container","of","namedtuples","``","(","values",",","indices",",","inverse_indices",",","counts",")","``",".","The","details","of","each","entry","can","be","found","in","the","docstring","for","ivy.unique_all",".","Examples","--","--","--","--",">",">",">","x","=","ivy.Container","(","a=ivy.array","(","[","0.",",","1.",",","3.",",","2.",",","1.",",","0",".","]",")",",","...","b=ivy.array","(","[","1,2,1,3,4,1,3","]",")",")",">",">",">","y","=","x.unique_all","(",")",">",">",">","print","(","y",")","[","{","a",":","ivy.array","(","[","0.",",","1.",",","2.",",","3",".","]",")",",","b",":","ivy.array","(","[","1",",","2",",","3",",","4","]",")","}",",","{","a",":","ivy.array","(","[","0",",","1",",","3",",","2","]",")",",","b",":","ivy.array","(","[","0",",","1",",","3",",","4","]",")","}",",","{","a",":","ivy.array","(","[","0",",","1",",","3",",","2",",","1",",","0","]",")",",","b",":","ivy.array","(","[","0",",","1",",","0",",","2",",","3",",","0",",","2","]",")","}",",","{","a",":","ivy.array","(","[","2",",","2",",","1",",","1","]",")",",","b",":","ivy.array","(","[","3",",","1",",","2",",","1","]",")","}","]"]
code: def unique_all(
      self: ivy.Container,
      /,
      *,
      axis: Optional[Union[int, ivy.Container]] = None,
      by_value: Union[bool, ivy.Container] = True,
      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.unique_all. This method
      simply wraps the function, and so the docstring for ivy.unique_all also
      applies to this method with minimal changes.
  
      Parameters
      ----------
      self
          input container.
      axis
          the axis to apply unique on. If None, the unique elements of the flattened
          ``x`` are returned.
      by_value
          If False, the unique elements will be sorted in the same order that they
          occur in ''x''. Otherwise, they will be sorted by value.
      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
          A container of namedtuples ``(values, indices, inverse_indices,
          counts)``. The details of each entry can be found in the docstring
          for ivy.unique_all.
  
  
      Examples
      --------
      >>> x = ivy.Container(a=ivy.array([0., 1., 3. , 2. , 1. , 0.]),
      ...                   b=ivy.array([1,2,1,3,4,1,3]))
      >>> y = x.unique_all()
      >>> print(y)
      [{
          a: ivy.array([0., 1., 2., 3.]),
          b: ivy.array([1, 2, 3, 4])
      }, {
          a: ivy.array([0, 1, 3, 2]),
          b: ivy.array([0, 1, 3, 4])
      }, {
          a: ivy.array([0, 1, 3, 2, 1, 0]),
          b: ivy.array([0, 1, 0, 2, 3, 0, 2])
      }, {
          a: ivy.array([2, 2, 1, 1]),
          b: ivy.array([3, 1, 2, 1])
      }]
      """
      return self._static_unique_all(
          self,
          axis=axis,
          by_value=by_value,
          key_chains=key_chains,
          to_apply=to_apply,
          prune_unapplied=prune_unapplied,
          map_sequences=map_sequences,
      )
  
file_path: ivy/ivy/data_classes/container/set.py
imports: from typing import Dict, List, Optional, Union
  from ivy.data_classes.container.base import ContainerBase
  import ivy
label_desc: Use image node_id 2 for calling the _ContainerWithSet obj's underlying member method code with example usage: obj.unique_all() and returns: self