Method permuteAxes
val permuteAxes: int list -> ITensor -> ITensor
Permutes the axes as specified.
Declaration
val permuteAxes: permut:int list -> a:ITensor -> ITensor
Parameters
Type | Name | Description |
---|---|---|
int list | permut | The permutation to apply to the dimensions of tensor. |
ITensor | a | The tensor to operate on. |
Returns
Type | Description |
---|---|
ITensor | The tensor with the dimensions permuted. |