Method swapDim
val swapDim: int -> int -> TensorLayout -> TensorLayout
swaps the given dimensions
Declaration
val swapDim: ax1:int -> ax2:int -> a:TensorLayout -> TensorLayout
Parameters
Type | Name | Description |
---|---|---|
int | ax1 | |
int | ax2 | |
TensorLayout | a |
Returns
Type | Description |
---|---|
TensorLayout |