LWprogramming
|
5de2a6d5e5
|
Fix wav2vec2 is_batched check to include 2-D numpy arrays (#23223)
* Fix wav2vec2 is_batched check to include 2-D numpy arrays
* address comment
* Add tests
* oops
* oops
* Switch to np array
Co-authored-by: Sanchit Gandhi <93869735+sanchit-gandhi@users.noreply.github.com>
* Switch to np array
* condition merge
* Specify mono channel only in comment
* oops, add other comment too
* make style
* Switch list check from falsiness to empty
---------
Co-authored-by: Sanchit Gandhi <93869735+sanchit-gandhi@users.noreply.github.com>
|
2023-05-22 12:57:45 -04:00 |
|