MCPcopy Create free account
hub / github.com/BorealisAI/scaleformer / forward

Method forward

layers/Autoformer_EncDec.py:70–73  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

68 self.moving_avg = moving_avg(kernel_size, stride=1)
69
70 def forward(self, x):
71 moving_mean = self.moving_avg(x)
72 res = x - moving_mean
73 return res, moving_mean
74
75
76class series_decomp_multi(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected