Fixed argument validation in TorchAudio filtering (#2609)
Summary: Pull Request resolved: https://github.com/pytorch/audio/pull/2609 Converted argument validations in torchaudio/functional/filtering from assert based validation to the preferred if-then raise validation. Added specific error messages in all cases. Reviewed By: mthrok Differential Revision: D38515029 fbshipit-source-id: 6c644a042f86c6feb2bbe8bd02fdb484fe27fae9
Showing
Please register or sign in to comment