parameters: (a)
return_statement: return swapaxes(a, -1, -2)
docstring: Transpose each matrix in a stack of matrices.
  
      Unlike np.transpose, this only swaps the last two axes, rather than all of
      them
  
      Parameters
      ----------
      a : (...,M,N) array_like
  
      Returns
      -------
      aT : (...,N,M) ndarray
docstring_summary: Transpose each matrix in a stack of matrices.
docstring_tokens: Transpose each matrix in a stack of matrices .
function: def transpose(a):
      """
      Transpose each matrix in a stack of matrices.
  
      Unlike np.transpose, this only swaps the last two axes, rather than all of
      them
  
      Parameters
      ----------
      a : (...,M,N) array_like
  
      Returns
      -------
      aT : (...,N,M) ndarray
      """
      return swapaxes(a, -1, -2)
function_tokens: def transpose ( a ) : return swapaxes ( a , - 1 , - 2 )