Method Transpose
Transpose(Tensor, Tensor)
Calculates an output tensor by reversing the dimensions of the input tensor.
Declaration
public override void Transpose(Tensor X, Tensor O)
Parameters
Type | Name | Description |
---|---|---|
Tensor | X | The input tensor. |
Tensor | O | The output tensor to be computed and filled. |
Overrides
Transpose(Tensor, Tensor, int[])
Calculates an output tensor by permuting the axes and data of the input tensor according to the given permutations.
Declaration
public override void Transpose(Tensor X, Tensor O, int[] permutations)
Parameters
Type | Name | Description |
---|---|---|
Tensor | X | The input tensor. |
Tensor | O | The output tensor to be computed and filled. |
int[] | permutations | The axes to sample the output tensor from in the input tensor. |