tensor.concat
Concatenate a list of tensors into a single tensor.
Args
tensors
(Span<Tensor<T>>,
) - Array of the input tensors.axis
(usize
) - Axis to concat on.
Panics
Panic if tensor length is not greater than 1.
Panics if dimension is not greater than axis.
Returns
A new Tensor<T>
concatenated tensor of the input tensors.
Example
Last updated
Was this helpful?