MCPcopy Create free account
hub / github.com/kwuking/TimeMixer / _init_params

Method _init_params

layers/DWT_Decomposition.py:81–83  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

79 return l
80
81 def _init_params(self):
82 self.affine_weight = nn.Parameter(torch.ones((self.level + 1, self.channel)))
83 self.affine_bias = nn.Parameter(torch.zeros((self.level + 1, self.channel)))
84
85 def _wavelet_decompose(self, x):
86 # input: x shape: batch, channel, seq

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected