Fix initialization of HW acceleration (#3209)
Summary: Pull Request resolved: https://github.com/pytorch/audio/pull/3209 The previous code prints out the uninitialized variable when invalid HW acceleration is provided. This commit fixes it. Reviewed By: hwangjeff Differential Revision: D44449715 fbshipit-source-id: 8b76cfc27816d5ea9fbc2bc37a3148f09a8ed6ed
Showing
Please register or sign in to comment