Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the meaning of the 2-th power of the variable 'Win' ? #2

Open
cjfcsjt opened this issue Oct 31, 2020 · 1 comment
Open

What is the meaning of the 2-th power of the variable 'Win' ? #2

cjfcsjt opened this issue Oct 31, 2020 · 1 comment

Comments

@cjfcsjt
Copy link

cjfcsjt commented Oct 31, 2020

Hi! Thanks for your great work!
I'm a bit confused with the code in 'MGCN_FAUST.py'
for k in range(31, -1, -(32//(K-1))): Win = torch.mm(torch.mm(torch.mm(V, torch.diag(clk[:, k])), torch.t(V)), torch.diag(torch.squeeze(A))) ** 2 Win = torch.nn.functional.normalize(Win, p=2, dim=0) ** 2 list.append(Win) Win = torch.stack(list, dim=0)
It seems that it calculates the wavelet basis, but I do not follow the meaning of the 2-th power of the variable 'Win', Could you explain it please?

@yiqun-wang
Copy link
Owner

Hi, I just want to make the wavelet normalized, and the sum of the normalized wavelet is 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants