Fix resampling to support dynamic input lengths for onnx exports. (#3473)
Summary: This is a port of https://github.com/adefossez/julius/pull/17 for torchaudio. Not sure if it's possible/desirable to add tests to test the functionality of ONNX exports, but I did a quick test on my machine to ensure this works. The logic is a bit simpler compared to the other PR because the torchaudio version does not support the additional flags available in julius. Pull Request resolved: https://github.com/pytorch/audio/pull/3473 Differential Revision: D47401988 Pulled By: mthrok fbshipit-source-id: 62fa1e4388923f6a62cef2c0f902a79ea179cec4
Showing
Please register or sign in to comment