mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-09 18:12:19 +00:00
Replace nn.Linear with ScaledLinear in simple joiner
This commit is contained in:
parent
9a0c2e7fee
commit
f75d40c725
@ -63,7 +63,7 @@ class Transducer(nn.Module):
|
||||
|
||||
# could perhaps separate this into 2 linear projections, one
|
||||
# for lm and one for am.
|
||||
self.simple_joiner = nn.Linear(embedding_dim, vocab_size)
|
||||
self.simple_joiner = ScaledLinear(embedding_dim, vocab_size)
|
||||
|
||||
def forward(
|
||||
self,
|
||||
|
Loading…
x
Reference in New Issue
Block a user