mlx.core.transpose# transpose(a: array, /, axes: Sequence[int] | None = None, *, stream: None | Stream | Device = None) → array# Transpose the dimensions of the array. 參數: a (array) -- 輸入陣列。 axes (list(int), optional) -- Specifies the source axis for each axis in the new array. The default is to reverse the axes. 回傳值: The transposed array. 回傳值型別: array