docstr: Transpose a matrix (or a stack of matrices) ``x``.
  
  Parameters
  ----------
  self
      input array having shape ``(..., M, N)`` and whose innermost two
      dimensions form ``MxN`` matrices.
  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 transpose for each matrix and having shape
      ``(..., N, M)``. The returned array must have the same data
      type as ``x``.
  
  Examples
  --------
  With :class:`ivy.Array` instance inputs:
  
  >>> x = ivy.array([[1., 2.], [0., 3.]])
  >>> y = x.matrix_transpose()
  >>> print(y)
  ivy.array([[1., 0.],
             [2., 3.]])
docstr_tok: ["Transpose","a","matrix","(","or","a","stack","of","matrices",")","``","x","``",".","Parameters","--","--","--","--","--","self","input","array","having","shape","``","(","...",",","M",",","N",")","``","and","whose","innermost","two","dimensions","form","``","MxN","``","matrices",".","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","transpose","for","each","matrix","and","having","shape","``","(","...",",","N",",","M",")","``",".","The","returned","array","must","have","the","same","data","type","as","``","x","``",".","Examples","--","--","--","--","With",":","class",":","`","ivy.Array","`","instance","inputs",":",">",">",">","x","=","ivy.array","(","[","[","1.",",","2",".","]",",","[","0.",",","3",".","]","]",")",">",">",">","y","=","x.matrix_transpose","(",")",">",">",">","print","(","y",")","ivy.array","(","[","[","1.",",","0",".","]",",","[","2.",",","3",".","]","]",")"]
code: def matrix_transpose(
      self: ivy.Array,
      /,
      *,
      conjugate: bool = False,
      out: Optional[ivy.Array] = None,
  ) -> ivy.Array:
      """Transpose a matrix (or a stack of matrices) ``x``.
  
      Parameters
      ----------
      self
          input array having shape ``(..., M, N)`` and whose innermost two
          dimensions form ``MxN`` matrices.
      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 transpose for each matrix and having shape
          ``(..., N, M)``. The returned array must have the same data
          type as ``x``.
  
      Examples
      --------
      With :class:`ivy.Array` instance inputs:
  
      >>> x = ivy.array([[1., 2.], [0., 3.]])
      >>> y = x.matrix_transpose()
      >>> print(y)
      ivy.array([[1., 0.],
                 [2., 3.]])
      """
      return ivy.matrix_transpose(
          self._data, conjugate=conjugate, out=out
      )
  
imports: import abc
  from typing import Union, Optional, Literal, Tuple, List, Sequence
  import ivy
label_desc: Use image node_id 15 for calling the _ArrayWithLinearAlgebra obj's underlying member method code with example usage: obj.matrix_transpose() and returns: ivy