• Jeremy Reizenstein's avatar
    sample_pdf CUDA and C++ implementations. · 1ea2b727
    Jeremy Reizenstein authored
    Summary: Implement the sample_pdf function from the NeRF project as compiled operators.. The binary search (in searchsorted) is replaced with a low tech linear search, but this is not a problem for the envisaged numbers of bins.
    
    Reviewed By: gkioxari
    
    Differential Revision: D26312535
    
    fbshipit-source-id: df1c3119cd63d944380ed1b2657b6ad81d743e49
    1ea2b727
test_sample_pdf.py 3.31 KB