How can I translate the numpy implementation to torch?
https://numpy.org/doc/stable/reference/generated/numpy.interp.html 49
https://pytorch.org/docs/stable/nn.functional.html#interpolate 34
The torch version doesn’t seem to take in discrete data points.