PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) { | |
m.def("grid_encode_forward", &grid_encode_forward, "grid_encode_forward (CUDA)"); | |
m.def("grid_encode_backward", &grid_encode_backward, "grid_encode_backward (CUDA)"); | |
m.def("grad_total_variation", &grad_total_variation, "grad_total_variation (CUDA)"); | |
} |