共用方式為


Tensor.Transpose<T>(Tensor<T>) 方法

定義

交換 tensor 張量的最後兩個維度。

public:
generic <typename T>
 static System::Numerics::Tensors::Tensor<T> ^ Transpose(System::Numerics::Tensors::Tensor<T> ^ tensor);
public static System.Numerics.Tensors.Tensor<T> Transpose<T>(System.Numerics.Tensors.Tensor<T> tensor);
static member Transpose : System.Numerics.Tensors.Tensor<'T> -> System.Numerics.Tensors.Tensor<'T>
Public Function Transpose(Of T) (tensor As Tensor(Of T)) As Tensor(Of T)

類型參數

T

參數

tensor
Tensor<T>

輸入 Tensor<T>

傳回

適用於