Redigera

Dela via


Tensor.Permute<T>(Tensor<T>, ReadOnlySpan<Int32>) Method

Definition

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static System::Numerics::Tensors::Tensor<T> ^ Permute(System::Numerics::Tensors::Tensor<T> ^ input, ReadOnlySpan<int> axis);
public static System.Numerics.Tensors.Tensor<T> Permute<T> (this System.Numerics.Tensors.Tensor<T> input, scoped ReadOnlySpan<int> axis);
static member Permute : System.Numerics.Tensors.Tensor<'T> * ReadOnlySpan<int> -> System.Numerics.Tensors.Tensor<'T>
<Extension()>
Public Function Permute(Of T) (input As Tensor(Of T), axis As ReadOnlySpan(Of Integer)) As Tensor(Of T)

Type Parameters

T

Parameters

input
Tensor<T>

Returns

Applies to