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

Class TransformerEncoder

fairseq/models/transformer.py:186–308  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

get_encoderMethod · 0.90
build_encoderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected