copapy.concat#

copapy.concat(tensors, axis=0)#

Concatenate tensors or vectors along a specified axis.

Overloads:
Parameters:
  • tensors (Sequence[tensor[U] | vector[U]]) – Tensors or vectors to concatenate. Must have the same shape except for the specified axis.

  • axis (int) – Axis along which to concatenate (default 0).

Returns:

A new tensor or vector resulting from concatenation.