MCPcopy Create free account
hub / github.com/Anoise/WTFlib / __init__

Method __init__

LDPS_Graph/layers/Transformer_EncDec.py:116–120  ·  view source on GitHub ↗
(self, layers, norm_layer=None, projection=None)

Source from the content-addressed store, hash-verified

114
115class Decoder(nn.Module):
116 def __init__(self, layers, norm_layer=None, projection=None):
117 super(Decoder, self).__init__()
118 self.layers = nn.ModuleList(layers)
119 self.norm = norm_layer
120 self.projection = projection
121
122 def forward(self, x, cross, x_mask=None, cross_mask=None):
123 for layer in self.layers:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected