docstr: ivy.Array 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 array.
  
  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.
  
  Returns
  -------
  ret
      a namedtuple ``(values, indices, inverse_indices, counts)``.
      The details can be found in the docstring for ivy.unique_all.
  
  
  Examples
  --------
  >>> x = ivy.randint(0, 10, shape=(2, 2), seed=0)
  >>> z = x.unique_all()
  >>> print(z)
  Results(values=ivy.array([1, 2, 5, 9]),
          indices=ivy.array([3, 2, 1, 0]),
          inverse_indices=ivy.array([[3, 2], [1, 0]]),
         counts=ivy.array([1, 1, 1, 1]))
docstr_tok: ["ivy.Array","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","array",".","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",".","Returns","--","--","--","-","ret","a","namedtuple","``","(","values",",","indices",",","inverse_indices",",","counts",")","``",".","The","details","can","be","found","in","the","docstring","for","ivy.unique_all",".","Examples","--","--","--","--",">",">",">","x","=","ivy.randint","(","0",",","10",",","shape=","(","2",",","2",")",",","seed=0",")",">",">",">","z","=","x.unique_all","(",")",">",">",">","print","(","z",")","Results","(","values=ivy.array","(","[","1",",","2",",","5",",","9","]",")",",","indices=ivy.array","(","[","3",",","2",",","1",",","0","]",")",",","inverse_indices=ivy.array","(","[","[","3",",","2","]",",","[","1",",","0","]","]",")",",","counts=ivy.array","(","[","1",",","1",",","1",",","1","]",")",")"]
code: def unique_all(
      self: ivy.Array,
      /,
      *,
      axis: Optional[int] = None,
      by_value: bool = True,
  ) -> Tuple[ivy.Array, ivy.Array, ivy.Array, ivy.Array]:
      """ivy.Array 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 array.
  
      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.
  
      Returns
      -------
      ret
          a namedtuple ``(values, indices, inverse_indices, counts)``.
          The details can be found in the docstring for ivy.unique_all.
  
  
      Examples
      --------
      >>> x = ivy.randint(0, 10, shape=(2, 2), seed=0)
      >>> z = x.unique_all()
      >>> print(z)
      Results(values=ivy.array([1, 2, 5, 9]),
              indices=ivy.array([3, 2, 1, 0]),
              inverse_indices=ivy.array([[3, 2], [1, 0]]),
             counts=ivy.array([1, 1, 1, 1]))
      """
      return ivy.unique_all(self._data, axis=axis, by_value=by_value)
  
file_path: ivy/ivy/data_classes/array/set.py
imports: import abc
  from typing import Optional, Tuple
  import ivy
label_desc: Use image node_id 3 for calling the _ArrayWithSet obj's underlying member method code with example usage: obj.unique_all() and returns: ivy