Skip to main content

cumulative

Function cumulative 

Source
pub fn cumulative<T: Element>(
    x: &[T],
    shape: &[usize],
    axis: usize,
    reverse: bool,
    op: CumulativeOp,
) -> Vec<T>
Expand description

A cumulative reduction along axis (inclusive; from the end with reverse), combining elements in the order XLA does on CPU.