| 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) -> ()"); | |
| ops.impl("rp_resample", torch::kCPU, &rp_resample); | |
| } | |
| REGISTER_EXTENSION(TORCH_EXTENSION_NAME) | |