"docs/vscode:/vscode.git/clone" did not exist on "e6bd346e1db1c844196b5ba27ca3c0ca38d8a332"
Replace assert with raise (#2579)
Summary: `assert` is not executed when running in optimized mode. This commit replaces all instances of "assert" in /fbcode/pytorch/audio/torchaudio/functional/functional.py Pull Request resolved: https://github.com/pytorch/audio/pull/2579 Reviewed By: mthrok Differential Revision: D38158280 fbshipit-source-id: f8d7fca1c8f9b3955c6ca312b16947eb12894d81
Showing
Please register or sign in to comment