File size: 1,818 Bytes
158b61b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 |
Modules
=============
Core Modules
------------
.. autoclass:: onmt.modules.Embeddings
:members:
Encoders
---------
.. autoclass:: onmt.encoders.EncoderBase
:members:
.. autoclass:: onmt.encoders.MeanEncoder
:members:
.. autoclass:: onmt.encoders.RNNEncoder
:members:
Decoders
---------
.. autoclass:: onmt.decoders.DecoderBase
:members:
.. autoclass:: onmt.decoders.decoder.RNNDecoderBase
:members:
.. autoclass:: onmt.decoders.StdRNNDecoder
:members:
.. autoclass:: onmt.decoders.InputFeedRNNDecoder
:members:
Attention
----------
.. autoclass:: onmt.modules.AverageAttention
:members:
.. autoclass:: onmt.modules.GlobalAttention
:members:
Architecture: Transformer
----------------------------
.. autoclass:: onmt.modules.PositionalEncoding
:members:
.. autoclass:: onmt.modules.position_ffn.PositionwiseFeedForward
:members:
.. autoclass:: onmt.encoders.TransformerEncoder
:members:
.. autoclass:: onmt.decoders.TransformerDecoder
:members:
.. autoclass:: onmt.modules.MultiHeadedAttention
:members:
:undoc-members:
Architecture: Conv2Conv
----------------------------
(These methods are from a user contribution
and have not been thoroughly tested.)
.. autoclass:: onmt.encoders.CNNEncoder
:members:
.. autoclass:: onmt.decoders.CNNDecoder
:members:
.. autoclass:: onmt.modules.ConvMultiStepAttention
:members:
.. autoclass:: onmt.modules.WeightNormConv2d
:members:
Architecture: SRU
----------------------------
.. autoclass:: onmt.models.sru.SRU
:members:
Copy Attention
--------------
.. autoclass:: onmt.modules.CopyGenerator
:members:
Structured Attention
-------------------------------------------
.. autoclass:: onmt.modules.structured_attention.MatrixTree
:members:
|