Hi.
I’ve been looking for a way to upsample time series arrays using pytorch.  Currently I use scipy.signal.resample() which works great but there is a cost to transferring my data from device -> cpu to run this function.


Is there a native pytorch function that does this?  (note nn.functional.interpolate is linear as far as I can tell after plotting outputs).


If not, is there a way to use scipy without transferring my arrays from device->cpu?


Thanks so much!
Catubc