docstr: ivy.Array instance method variant of ivy.flip. This method simply
  wraps the function, and so the docstring for ivy.flip also applies to
  this method with minimal changes.
  
  Parameters
  ----------
  self
      input array.
  axis
      axis (or axes) along which to flip. If axis is None, all
      input array axes are flipped. If axis is negative, axis
      is counted from the last dimension. If provided more than
      one axis, only the specified axes. Default: None.
  copy
      boolean indicating whether or not to copy the input array.
      If True, the function must always copy.
      If False, the function must never copy.
      In case copy is False we avoid copying by returning
       a view of the input array.
  out
      optional output array, for writing the result to.
      It must have a shape that the inputs broadcast to.
  
  Returns
  -------
  ret
      an output array having the same data type and
      shape as``self`` and whose elements, relative
      to ``self``, are reordered.
  
  Examples
  --------
  >>> x = ivy.array([1, 2, 3])
  >>> y = x.flip()
  >>> print(y)
  ivy.array([3, 2, 1])
  
  >>> x = ivy.array([4, 5, 6])
  >>> y = x.flip(axis=0)
  >>> print(y)
  ivy.array([6, 5, 4])
docstr_tok: ["ivy.Array","instance","method","variant","of","ivy.flip",".","This","method","simply","wraps","the","function",",","and","so","the","docstring","for","ivy.flip","also","applies","to","this","method","with","minimal","changes",".","Parameters","--","--","--","--","--","self","input","array",".","axis","axis","(","or","axes",")","along","which","to","flip",".","If","axis","is","None",",","all","input","array","axes","are","flipped",".","If","axis","is","negative",",","axis","is","counted","from","the","last","dimension",".","If","provided","more","than","one","axis",",","only","the","specified","axes",".","Default",":","None",".","copy","boolean","indicating","whether","or","not","to","copy","the","input","array",".","If","True",",","the","function","must","always","copy",".","If","False",",","the","function","must","never","copy",".","In","case","copy","is","False","we","avoid","copying","by","returning","a","view","of","the","input","array",".","out","optional","output","array",",","for","writing","the","result","to",".","It","must","have","a","shape","that","the","inputs","broadcast","to",".","Returns","--","--","--","-","ret","an","output","array","having","the","same","data","type","and","shape","as","``","self","``","and","whose","elements",",","relative","to","``","self","``",",","are","reordered",".","Examples","--","--","--","--",">",">",">","x","=","ivy.array","(","[","1",",","2",",","3","]",")",">",">",">","y","=","x.flip","(",")",">",">",">","print","(","y",")","ivy.array","(","[","3",",","2",",","1","]",")",">",">",">","x","=","ivy.array","(","[","4",",","5",",","6","]",")",">",">",">","y","=","x.flip","(","axis=0",")",">",">",">","print","(","y",")","ivy.array","(","[","6",",","5",",","4","]",")"]
code: def flip(
      self: ivy.Array,
      /,
      *,
      copy: Optional[bool] = None,
      axis: Optional[Union[int, Sequence[int]]] = None,
      out: Optional[ivy.Array] = None,
  ) -> ivy.Array:
      """ivy.Array instance method variant of ivy.flip. This method simply
      wraps the function, and so the docstring for ivy.flip also applies to
      this method with minimal changes.
  
      Parameters
      ----------
      self
          input array.
      axis
          axis (or axes) along which to flip. If axis is None, all
          input array axes are flipped. If axis is negative, axis
          is counted from the last dimension. If provided more than
          one axis, only the specified axes. Default: None.
      copy
          boolean indicating whether or not to copy the input array.
          If True, the function must always copy.
          If False, the function must never copy.
          In case copy is False we avoid copying by returning
           a view of the input array.
      out
          optional output array, for writing the result to.
          It must have a shape that the inputs broadcast to.
  
      Returns
      -------
      ret
          an output array having the same data type and
          shape as``self`` and whose elements, relative
          to ``self``, are reordered.
  
      Examples
      --------
      >>> x = ivy.array([1, 2, 3])
      >>> y = x.flip()
      >>> print(y)
      ivy.array([3, 2, 1])
  
      >>> x = ivy.array([4, 5, 6])
      >>> y = x.flip(axis=0)
      >>> print(y)
      ivy.array([6, 5, 4])
      """
      return ivy.flip(self._data, copy=copy, axis=axis, out=out)
  
imports: import abc
  from typing import Optional, Union, Tuple, List, Iterable, Sequence
  from numbers import Number
  import ivy
  from ivy import handle_view
label_desc: Use image node_id 4 for calling the _ArrayWithManipulation obj's underlying member method code with example usage: obj.flip() and returns: ivy