File size: 261 Bytes
904ef7d
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
#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)");
}