livetalking/shencoder/src/bindings.cpp

8 lines
261 B
C++
Raw Normal View History

2023-12-19 09:41:52 +08:00
#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)");
}