Download torch-ext/registration.h from replicate/mel_spectrogram: direct link, hf CLI and curl.
- Browser
- Download file 1.11 kB
-
https://huggingface.co/replicate/mel_spectrogram/resolve/main/torch-ext/registration.h
- Command line
-
hf download hf://replicate/mel_spectrogram/torch-ext/registration.h
-
curl -L -o registration.h https://huggingface.co/replicate/mel_spectrogram/resolve/main/torch-ext/registration.h
1.11 kB
| // A version of the TORCH_LIBRARY macro that expands the NAME, i.e. so NAME | |
| // could be a macro instead of a literal token. | |
| // A version of the TORCH_LIBRARY_IMPL macro that expands the NAME, i.e. so NAME | |
| // could be a macro instead of a literal token. | |
| // REGISTER_EXTENSION allows the shared library to be loaded and initialized | |
| // via python's import statement. | |