getkeops / keops

KErnel OPerationS, on CPUs and GPUs, with autodiff and without memory overflows
https://www.kernel-operations.io
MIT License
1.03k stars 65 forks source link

Lazytensor to tensor #271

Open leihouyeung opened 1 year ago

leihouyeung commented 1 year ago

Hi, is there any function that I could transfer LazyTensor to Tensor? Or how could I extract the value in LazyTensor? Hope for your response. Thanks!

jeanfeydy commented 1 year ago

Hi @leihouyeung,

Thanks for your interest in our library, and apologies for the long time to answer - I was super busy with teaching in Oct.-Dec. 2022. Implementing this kind of operation cleanly (probably as a .dense() or .as_array() method for LazyTensors) is one of our key priorities for 2023. I will keep this thread updated as we work on this feature :-)

Best regards, Jean