mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-19 05:54:20 +00:00
modify the doc of RelPositionMultiheadAttention
This commit is contained in:
parent
6fa0ef1e8d
commit
9cf447646d
@ -405,7 +405,7 @@ class RelPositionalEncoding(torch.nn.Module):
|
||||
|
||||
|
||||
class RelPositionMultiheadAttention(nn.Module):
|
||||
r"""Multi-Head Attention layer with relative position encoding
|
||||
r"""Multi-Head Attention layer with simplified relative position encoding
|
||||
|
||||
See reference: "Transformer-XL: Attentive Language Models Beyond a Fixed-Length Context"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user