mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
alias Transducer
This commit is contained in:
parent
1ab2a4c662
commit
c207c55e94
@ -270,3 +270,5 @@ class PromptedTransducer(nn.Module):
|
|||||||
indicator = indicator.to(memory.dtype).unsqueeze(-1)
|
indicator = indicator.to(memory.dtype).unsqueeze(-1)
|
||||||
|
|
||||||
return memory + indicator
|
return memory + indicator
|
||||||
|
|
||||||
|
Transducer = PromptedTransducer # for decoding
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user