nestedtensor icon indicating copy to clipboard operation
nestedtensor copied to clipboard

Scan Operators

Open tschmidt23 opened this issue 4 years ago • 1 comments

🚀 Feature

A nested tensor version of the scan operators (e.g. cumsum, cumprod).

Motivation

This will be super useful for volume rendering, which involves cumsum / cumprod operations over values sampled along a ray. With regular Tensors, each ray must have the same number of samples.

tschmidt23 avatar Jan 09 '21 00:01 tschmidt23

Hello @tschmidt23,

Thank you for your feature request! cumsum is already implemented, you can see the test here. I'll add cumprod to the list of work to be done, but there's still currently quite a lot of other work in progress. Do you have a list of specific operators you'd like to unblock a particular usecase or project you're currently working on? We could prioritize that.

Thanks, Christian

cpuhrsch avatar Jan 12 '21 06:01 cpuhrsch