Method reverseAxis
val reverseAxis: int -> ITensor -> ITensor
Reverses the elements in the specified dimension.
Declaration
val reverseAxis: ax:int -> a:ITensor -> ITensor
Parameters
Type | Name | Description |
---|---|---|
int | ax | The axis to reverse. |
ITensor | a | The tensor to operate on. |
Returns
Type | Description |
---|---|
ITensor | The tensor with the dimensions permuted. |