cupy.row_stack#
- cupy.row_stack(tup)[source]#
Stacks arrays vertically.
If an input array has one dimension, then the array is treated as a horizontal vector and stacked along the additional axis at the head. Otherwise, the array is stacked along the first axis.
- Parameters
tup (sequence of arrays) – Arrays to be stacked. Each array is converted by
cupy.atleast_2d()
before stacking.- Returns
Stacked array.
- Return type
See also