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

Inconsistent initialization of memory bank in the code #22

Open
Pixie8888 opened this issue Mar 18, 2021 · 0 comments
Open

Inconsistent initialization of memory bank in the code #22

Pixie8888 opened this issue Mar 18, 2021 · 0 comments

Comments

@Pixie8888
Copy link

Hi,
Thanks for the great work. I have question regarding the initializaton of memory bank. In the paper, it is said to initialize them as unit vector. However, in the code, you use: torch.rand(outputSize, inputSize).mul_(2*stdv).add_(-stdv). How can this relate to unit vector?
image

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