MCPcopy Create free account
hub / github.com/dailenson/SDT / __init__

Method __init__

models/model.py:14–50  ·  view source on GitHub ↗
(self, d_model=512, nhead=8, num_encoder_layers=2, num_head_layers= 1,
                 wri_dec_layers=2, gly_dec_layers=2, dim_feedforward=2048, dropout=0.1,
                 activation="relu", normalize_before=True, return_intermediate_dec=True)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 10

_reset_parametersMethod · 0.95
Content_TRClass · 0.90
TransformerEncoderClass · 0.85
TransformerDecoderClass · 0.85
SeqtoEmbClass · 0.85
EmbtoSeqClass · 0.85
PositionalEncodingClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected