"git@developer.sourcefind.cn:OpenDAS/nerfacc.git" did not exist on "840f236654e3ef736bdd53bd6b47d7dc5ee07423"
Replace assert with raise in torchaudio.models (#2590)
Summary: Pull Request resolved: https://github.com/pytorch/audio/pull/2590 Converted assert checks for argument validation to if-else checks so that they are executed in optimized mode as well. Reviewed By: mthrok Differential Revision: D38211246 fbshipit-source-id: 922b5bcafe8214980e535527dd94c3345c1ff3e2
Showing
Please register or sign in to comment