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

Method forward

LDPS_Graph/models/DLinear.py:33–36  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

31 self.moving_avg = moving_avg(kernel_size, stride=1)
32
33 def forward(self, x):
34 moving_mean = self.moving_avg(x)
35 res = x - moving_mean
36 return res, moving_mean
37
38class Model(nn.Module):
39 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected