MCPcopy Create free account
hub / github.com/cure-lab/LTSF-Linear / __init__

Method __init__

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

Source from the content-addressed store, hash-verified

155 Autoformer encoder
156 """
157 def __init__(self, layers, norm_layer=None, projection=None):
158 super(Decoder, self).__init__()
159 self.layers = nn.ModuleList(layers)
160 self.norm = norm_layer
161 self.projection = projection
162
163 def forward(self, x, cross, x_mask=None, cross_mask=None, trend=None):
164 for layer in self.layers:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected