triton.language.cumsum
- triton.language.cumsum = JITFunction(triton.language.standard:cumsum)
Returns the cumsum of all elements in the
inputtensor along the providedaxis- Parameters:
input (Tensor) – the input values
axis (int) – the dimension along which the scan should be done
This function can also be called as a member function on
tensor, asx.cumsum(...)instead ofcumsum(x, ...).