(self)
| 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 |