mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-10 02:22:17 +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
|
# could perhaps separate this into 2 linear projections, one
|
||||||
# for lm and one for am.
|
# 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(
|
def forward(
|
||||||
self,
|
self,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user