basic_ragged_stack#
- t3toolbox.backend.stacking.basic_ragged_stack(xx)#
def basic_ragged_stack( xx, # array-like tree of ragged array tuples (innermost tuple = one ragged object) ) -> typ.Tuple[ typ.Tuple[NDArray, ...], # single ragged array tuple, tree levels stacked into leading axes ..., ]:
Stack array-like tree of ragged array tuples into single ragged array tuple.
- Return type:
t3toolbox.backend.common.typ.Tuple[t3toolbox.backend.common.typ.Tuple[NDArray, Ellipsis], Ellipsis]