mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-26 10:16:14 +00:00
Update egs/librispeech/ASR/conformer_lm/conformer.py
Co-authored-by: Fangjun Kuang <csukuangfj@gmail.com>
This commit is contained in:
parent
0cfa8c80e0
commit
8e650a5841
@ -112,7 +112,7 @@ class MaskedLmConformer(nn.Module):
|
||||
|
||||
Returns:
|
||||
Returns (memory, pos_emb), where:
|
||||
`memory` is a Tensor containing the encoded data; it is of shape (N, T, C)
|
||||
`memory` is a Tensor containing the encoded data; it is of shape (T, N, C)
|
||||
where C is the embedding_dim.
|
||||
`pos_emb` is a Tensor containing the relative positional encoding, of
|
||||
shape (1, 2*T-1, C)
|
||||
|
Loading…
x
Reference in New Issue
Block a user