Download torch-ext/torch_binding.cpp from phanerozoic/resample-poly: direct link, hf CLI and curl.
- Browser
- Download file 398 Bytes
-
https://huggingface.co/kernels/phanerozoic/resample-poly/resolve/v1/torch-ext/torch_binding.cpp
- Command line
-
hf download hf://phanerozoic/resample-poly@v1/torch-ext/torch_binding.cpp
-
curl -L -o torch_binding.cpp https://huggingface.co/kernels/phanerozoic/resample-poly/resolve/v1/torch-ext/torch_binding.cpp
398 Bytes
| 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) | |