mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
from local
This commit is contained in:
parent
fa3a6a15f4
commit
8f15ad082a
Binary file not shown.
Binary file not shown.
@ -369,7 +369,7 @@ def decode_one_batch(
|
||||
"""
|
||||
device = next(model.parameters()).device
|
||||
feature = batch["inputs"]
|
||||
assert feature.ndim == 3
|
||||
assert feature.ndim == 2 or feature.ndim == 3
|
||||
|
||||
feature = feature.to(device)
|
||||
# at entry, feature is (N, T, C)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user