Method transpose
val transpose: TensorLayout -> TensorLayout
Transposes the given layout of a matrix. If the array has more then two dimensions, the last two axes are swapped.
Declaration
val transpose: a:TensorLayout -> TensorLayout
Parameters
| Type | Name | Description |
|---|---|---|
| TensorLayout | a |
Returns
| Type | Description |
|---|---|
| TensorLayout |