Fix argument validation in TorchAudio datasets (#2571)
Summary: Pull Request resolved: https://github.com/pytorch/audio/pull/2571 Per T127106783, replace `assert` statement with `if _ then raise` statement to enforce the assertion even in optimized mode Reviewed By: mthrok Differential Revision: D38123481 fbshipit-source-id: 19321f7467bfd993b38bd9e44fcd01e5f5e64b87
Showing
Please register or sign in to comment