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

Method wavelet_transform

LDPS_Graph/layers/MultiWaveletCorrelation.py:360–366  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

358 return x
359
360 def wavelet_transform(self, x):
361 xa = torch.cat([x[:, ::2, :, :],
362 x[:, 1::2, :, :],
363 ], -1)
364 d = torch.matmul(xa, self.ec_d)
365 s = torch.matmul(xa, self.ec_s)
366 return d, s
367
368 def evenOdd(self, x):
369

Callers 1

forwardMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected