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

Method __init__

fairseq/models/lstm.py:310–356  ·  view source on GitHub ↗
(
        self, dictionary, embed_dim=512, hidden_size=512, out_embed_dim=512,
        num_layers=1, dropout_in=0.1, dropout_out=0.1, attention=True,
        encoder_output_units=512, pretrained_embed=None,
        share_input_output_embed=False, adaptive_softmax_cutoff=None,
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 7

AdaptiveSoftmaxClass · 0.90
LSTMCellFunction · 0.85
padMethod · 0.80
EmbeddingFunction · 0.70
LinearFunction · 0.70
AttentionLayerClass · 0.70
__init__Method · 0.45

Tested by

no test coverage detected