Tensor.Concatenate 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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>>
张量必须具有相同的形状,但与轴对应的维度除外(默认情况下为第一个)。