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

Method __init__

LDPS_Graph/models/DLinear.py:29–31  ·  view source on GitHub ↗
(self, kernel_size)

Source from the content-addressed store, hash-verified

27 Series decomposition block
28 """
29 def __init__(self, kernel_size):
30 super(series_decomp, self).__init__()
31 self.moving_avg = moving_avg(kernel_size, stride=1)
32
33 def forward(self, x):
34 moving_mean = self.moving_avg(x)

Callers

nothing calls this directly

Calls 2

moving_avgClass · 0.70
__init__Method · 0.45

Tested by

no test coverage detected