Skip to main content

stack

Function stack 

Source
pub fn stack(xs: &[HostArray], axis: usize) -> HostArray
Expand description

Stacks arrays of the same type and shape along a new dimension axis.

ยงPanics

Panics if xs is empty, if the arrays differ in type or shape, or if axis is greater than their rank.