pub fn array_split<T: Element>(
a: &Array<T, IxDyn>,
indices: &[usize],
axis: usize,
) -> FerrayResult<Vec<Array<T, IxDyn>>>Expand description
Split an array into sub-arrays at the given indices along axis.
Unlike split(), this does not require even division.
Analogous to numpy.array_split() (with explicit split points).
ยงErrors
Returns FerrayError::AxisOutOfBounds if axis is invalid.