docstr: ivy.Array instance method variant of ivy.permute_dims. This method
  simply wraps the function, and so the docstring for ivy.permute_dims
  also applies to this method with minimal changes.
  
  Parameters
  ----------
  self
      input array.
  axes
      tuple containing a permutation of (0, 1, ..., N-1) where N is
      the number of axes (dimensions) of x.
  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 array containing the axes permutation. The returned array
      must have the same data type as x.
  
  Examples
  --------
  With :class:`ivy.Array` input:
  
  >>> x = ivy.array([[1, 2, 3], [4, 5, 6]])
  >>> y = x.permute_dims(axes=(1, 0))
  >>> print(y)
  ivy.array([[1, 4],
             [2, 5],
             [3, 6]])
  
  >>> x = ivy.zeros((2, 3))
  >>> y = x.permute_dims(axes=(1, 0))
  >>> print(y)
  ivy.array([[0., 0.],
             [0., 0.],
             [0., 0.]])
docstr_tok: ["ivy.Array","instance","method","variant","of","ivy.permute_dims",".","This","method","simply","wraps","the","function",",","and","so","the","docstring","for","ivy.permute_dims","also","applies","to","this","method","with","minimal","changes",".","Parameters","--","--","--","--","--","self","input","array",".","axes","tuple","containing","a","permutation","of","(","0",",","1",",","...",",","N-1",")","where","N","is","the","number","of","axes","(","dimensions",")","of","x.","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","array","containing","the","axes","permutation",".","The","returned","array","must","have","the","same","data","type","as","x",".","Examples","--","--","--","--","With",":","class",":","`","ivy.Array","`","input",":",">",">",">","x","=","ivy.array","(","[","[","1",",","2",",","3","]",",","[","4",",","5",",","6","]","]",")",">",">",">","y","=","x.permute_dims","(","axes=","(","1",",","0",")",")",">",">",">","print","(","y",")","ivy.array","(","[","[","1",",","4","]",",","[","2",",","5","]",",","[","3",",","6","]","]",")",">",">",">","x","=","ivy.zeros","(","(","2",",","3",")",")",">",">",">","y","=","x.permute_dims","(","axes=","(","1",",","0",")",")",">",">",">","print","(","y",")","ivy.array","(","[","[","0.",",","0",".","]",",","[","0.",",","0",".","]",",","[","0.",",","0",".","]","]",")"]
code: def permute_dims(
      self: ivy.Array,
      /,
      axes: Tuple[int, ...],
      *,
      copy: Optional[bool] = None,
      out: Optional[ivy.Array] = None,
  ) -> ivy.Array:
      """ivy.Array instance method variant of ivy.permute_dims. This method
      simply wraps the function, and so the docstring for ivy.permute_dims
      also applies to this method with minimal changes.
  
      Parameters
      ----------
      self
          input array.
      axes
          tuple containing a permutation of (0, 1, ..., N-1) where N is
          the number of axes (dimensions) of x.
      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 array containing the axes permutation. The returned array
          must have the same data type as x.
  
      Examples
      --------
      With :class:`ivy.Array` input:
  
      >>> x = ivy.array([[1, 2, 3], [4, 5, 6]])
      >>> y = x.permute_dims(axes=(1, 0))
      >>> print(y)
      ivy.array([[1, 4],
                 [2, 5],
                 [3, 6]])
  
      >>> x = ivy.zeros((2, 3))
      >>> y = x.permute_dims(axes=(1, 0))
      >>> print(y)
      ivy.array([[0., 0.],
                 [0., 0.],
                 [0., 0.]])
      """
      return ivy.permute_dims(self._data, axes, copy=copy, 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 5 for calling the _ArrayWithManipulation obj's underlying member method code with example usage: obj.permute_dims(axes) and returns: ivy