MCPcopy Create free account
hub / github.com/HA-Transformer/MAT / TransformerDecoder

Class TransformerDecoder

fairseq/models/transformer.py:311–507  ·  view source on GitHub ↗

Transformer decoder consisting of *args.decoder_layers* layers. Each layer is a :class:`TransformerDecoderLayer`. Args: args (argparse.Namespace): parsed command-line arguments dictionary (~fairseq.data.Dictionary): decoding dictionary embed_tokens (torch.nn.Emb

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

get_decoderMethod · 0.90
build_modelMethod · 0.90
build_decoderMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected