We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
cumsum
Implement cumulative sum across an input dimension.
Example:
let x = Tensor::arange(0..6 as i64, &device); x.cumsum(0) // [ 0, 1, 3, 6, 10, 15]
The text was updated successfully, but these errors were encountered:
cumprod has also been asked for twice on discord: https://discord.com/channels/1038839012602941528/1038839013735399547/1234609825619644477 https://discord.com/channels/1038839012602941528/1091796857996451942/1202670351322972302
cumprod
let x = Tensor::arange(1..7 as i64, &device); x.cumsum(0) // [ 1, 2, 6, 24, 120, 720]
Sorry, something went wrong.
No branches or pull requests
Implement cumulative sum across an input dimension.
Example:
The text was updated successfully, but these errors were encountered: