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

code problem #3

Open
starryFelix opened this issue Sep 24, 2021 · 0 comments
Open

code problem #3

starryFelix opened this issue Sep 24, 2021 · 0 comments

Comments

@starryFelix
Copy link

corr = corr.view(batch, ht, wd, 1, ht, wd)
corr = corr / torch.sqrt(torch.tensor(dim).float())
corr = corr.view(-1, 1, ht, wd)

Thank you very much for your work , but I did not understand this part of the code.Can you tell me ? Thank you.

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

1 participant