livetalking/ernerf/freqencoder/src/bindings.cpp

8 lines
275 B
C++
Raw Normal View History

2023-12-19 09:41:52 +08:00
#include <torch/extension.h>
#include "freqencoder.h"
PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) {
m.def("freq_encode_forward", &freq_encode_forward, "freq encode forward (CUDA)");
m.def("freq_encode_backward", &freq_encode_backward, "freq encode backward (CUDA)");
}