axis_batch package¶
- class axis_batch.AxisBatch(a: TArray, /, *, axis: int | Sequence[int], size: int)[source]¶
Bases:
Generic[TArray]Batch the array along the given axis.
- send(result: TArray, /) None[source]¶
Add the batched array to the results.
- Parameters:
result (TArray) – The batched array.
- property value: TArray¶
Return the concentrated batched arrays.
- Returns:
The concentrated batched arrays.
- Return type:
TArray