concatenate#
- penzai.core.named_axes.concatenate(arrays: Sequence[NamedArrayBase], axis_name: AxisName) NamedArray | NamedArrayView [source]#
Concatenates a sequence of named arrays along a named axis.
- Parameters:
arrays – Sequence of named arrays to concatenate, which must have the same shape except for the axis given by
axis_name
.axis_name – Name of the axis along which to concatenate. Must be present in all arrays.
- Returns:
A new concatenated array.