rust-ndarray / ndarray

ndarray: an N-dimensional array with array views, multidimensional slicing, and efficient operations
https://docs.rs/ndarray/
Apache License 2.0
3.43k stars 295 forks source link

Implement cumprod #1354

Open unrenormalizable opened 5 months ago

unrenormalizable commented 5 months ago

cumprod numpy has this implemented. It is the torch.cumprod It will be good to have this implemented.

The library I am working on burn - is adding prod functionality and this is required to implement the gradient.

Ref: #1351