Tensor.Concatenate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Concatenate<T>(ReadOnlySpan<Tensor<T>>, TensorSpan<T>) |
Join a sequence of tensors along an existing axis. |
Concatenate<T>(ReadOnlySpan<Tensor<T>>) |
Join a sequence of tensors along an existing axis. |
Concatenate<T>(ReadOnlySpan<Tensor<T>>, TensorSpan<T>)
- Source:
- TensorExtensions.cs
- Source:
- TensorExtensions.cs
Join a sequence of tensors along an existing axis.
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)
Type Parameters
- T
Parameters
- tensors
- ReadOnlySpan<Tensor<T>>
The tensors must have the same shape, except in the dimension corresponding to axis (the first, by default).
- destination
- TensorSpan<T>
Returns
Applies to
Concatenate<T>(ReadOnlySpan<Tensor<T>>)
- Source:
- TensorExtensions.cs
- Source:
- TensorExtensions.cs
Join a sequence of tensors along an existing axis.
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)
Type Parameters
- T
Parameters
- tensors
- ReadOnlySpan<Tensor<T>>
The tensors must have the same shape, except in the dimension corresponding to axis (the first, by default).