New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Tensor] Add cumsum
operation
#1720
Labels
enhancement
Enhance existing features
Comments
let x = Tensor::arange(1..7 as i64, &device);
x.cumsum(0)
// [ 1, 2, 6, 24, 120, 720] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Implement cumulative sum across an input dimension.
Example:
The text was updated successfully, but these errors were encountered: