I’m not sure how scipy implements resample, but maybe you can use the PyTorch Spectral OPs 18 to mimic the function.


Unfortunately not, since scipy uses numpy internally which only operates on the CPU.