mirror of
https://github.com/facebookresearch/fairseq.git
synced 2024-09-11 17:25:31 +03:00
Summary: - `FairseqModel` -> `FairseqEncoderDecoderModel` - add `FairseqDecoder.extract_features` and `FairseqDecoder.output_layer` - `encoder_out_dict` -> `encoder_out` - rm unused `remove_head` functions - update docs Pull Request resolved: https://github.com/fairinternal/fairseq-py/pull/561 Differential Revision: D15271142 Pulled By: myleott fbshipit-source-id: 8e8864e399336020f0271c780598e968ff51a264
10 lines
241 B
ReStructuredText
10 lines
241 B
ReStructuredText
Modules
|
|
=======
|
|
|
|
Fairseq provides several stand-alone :class:`torch.nn.Module` classes that may
|
|
be helpful when implementing a new :class:`~fairseq.models.BaseFairseqModel`.
|
|
|
|
.. automodule:: fairseq.modules
|
|
:members:
|
|
:undoc-members:
|