#include #include "registration.h" #include "torch_binding.h" TORCH_LIBRARY_EXPAND(TORCH_EXTENSION_NAME, ops) { ops.def( "rp_resample(Tensor! out, Tensor x, Tensor taps, Tensor start, " "Tensor len, Tensor off, int L, int M) -> ()"); #if defined(CPU_KERNEL) ops.impl("rp_resample", torch::kCPU, &rp_resample); #endif } REGISTER_EXTENSION(TORCH_EXTENSION_NAME)