linly / NeRF /shencoder /src /bindings.cpp
David Victor
init
bc3753a
raw
history blame contribute delete
261 Bytes
#include <torch/extension.h>
#include "shencoder.h"
PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) {
m.def("sh_encode_forward", &sh_encode_forward, "SH encode forward (CUDA)");
m.def("sh_encode_backward", &sh_encode_backward, "SH encode backward (CUDA)");
}