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
|
||||||
|
|||||||
Reference in New Issue
Block a user