Method permuteAxes
val permuteAxes: int list -> TensorLayout -> TensorLayout
Permutes the axes as specified. Each entry in the specified permutation specifies the new position of the corresponding axis, i.e. to which position the axis should move.
Declaration
val permuteAxes: permut:int list -> a:TensorLayout -> TensorLayout
Parameters
Type | Name | Description |
---|---|---|
int list | permut | |
TensorLayout | a |
Returns
Type | Description |
---|---|
TensorLayout |