Tensor.Concatenate 方法

定义

重载

Concatenate<T>(ReadOnlySpan<Tensor<T>>, TensorSpan<T>)

沿现有轴联接张量序列。

Concatenate<T>(ReadOnlySpan<Tensor<T>>)

沿现有轴联接张量序列。

Concatenate<T>(ReadOnlySpan<Tensor<T>>, TensorSpan<T>)

Source:
TensorExtensions.cs

沿现有轴联接张量序列。

public:
generic <typename T>
 static System::Numerics::Tensors::TensorSpan<T> ^ Concatenate(ReadOnlySpan<System::Numerics::Tensors::Tensor<T> ^> tensors, System::Numerics::Tensors::TensorSpan<T> % destination);
public static ref readonly System.Numerics.Tensors.TensorSpan<T> Concatenate<T> (scoped ReadOnlySpan<System.Numerics.Tensors.Tensor<T>> tensors, in System.Numerics.Tensors.TensorSpan<T> destination);
static member Concatenate : ReadOnlySpan<System.Numerics.Tensors.Tensor<'T>> * TensorSpan -> TensorSpan
Public Function Concatenate(Of T) (tensors As ReadOnlySpan(Of Tensor(Of T)), ByRef destination As TensorSpan(Of T)) As TensorSpan(Of T)

类型参数

T

参数

tensors
ReadOnlySpan<Tensor<T>>

张量必须具有相同的形状,但与轴对应的维度除外(默认情况下为第一个)。

destination
TensorSpan<T>

返回

适用于

Concatenate<T>(ReadOnlySpan<Tensor<T>>)

Source:
TensorExtensions.cs

沿现有轴联接张量序列。

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

类型参数

T

参数

tensors
ReadOnlySpan<Tensor<T>>

张量必须具有相同的形状,但与轴对应的维度除外(默认情况下为第一个)。

返回

适用于