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

Method __init__

LDPS_Graph/layers/Autoformer_EncDec.py:176–180  ·  view source on GitHub ↗
(self, layers, norm_layer=None, projection=None)

Source from the content-addressed store, hash-verified

174 Autoformer encoder
175 """
176 def __init__(self, layers, norm_layer=None, projection=None):
177 super(Decoder, self).__init__()
178 self.layers = nn.ModuleList(layers)
179 self.norm = norm_layer
180 self.projection = projection
181
182 def forward(self, x, cross, x_mask=None, cross_mask=None, trend=None):
183 for layer in self.layers:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected