mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-04 06:34:20 +00:00
update emformer_pruned_transducer_stateless/emformer.py
This commit is contained in:
parent
42f8afd264
commit
24db3a1934
@ -1280,6 +1280,7 @@ class Emformer(EncoderInterface):
|
||||
|
||||
self.subsampling_factor = subsampling_factor
|
||||
self.right_context_length = right_context_length
|
||||
self.chunk_length = chunk_length
|
||||
if subsampling_factor != 4:
|
||||
raise NotImplementedError("Support only 'subsampling_factor=4'.")
|
||||
if chunk_length % 4 != 0:
|
||||
|
Loading…
x
Reference in New Issue
Block a user