You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
261 B
C++

#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)");
}