mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-10 10:32:17 +00:00
Update decoder.py
This commit is contained in:
parent
2502987dc4
commit
bad44a7aed
@ -58,7 +58,7 @@ class Decoder(nn.Module):
|
|||||||
|
|
||||||
self.embedding = nn.Embedding(
|
self.embedding = nn.Embedding(
|
||||||
num_embeddings=vocab_size,
|
num_embeddings=vocab_size,
|
||||||
decoder_dim=decoder_dim,
|
embedding_dim=decoder_dim,
|
||||||
)
|
)
|
||||||
# the balancers are to avoid any drift in the magnitude of the
|
# the balancers are to avoid any drift in the magnitude of the
|
||||||
# embeddings, which would interact badly with parameter averaging.
|
# embeddings, which would interact badly with parameter averaging.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user