Sitelet https://web.archive.org/web/20201012114302/https://github.com/graykode/nlp-tutorial/issues/29
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

If create the Linear() casually, it won't be trained during training. #29

Open
yangdechuan opened this issue Jul 8, 2019 · 1 comment
Open

Comments

@yangdechuan
Copy link

@yangdechuan yangdechuan commented Jul 8, 2019

output = nn.Linear(n_heads * d_v, d_model)(context)

@graykode
Copy link
Owner

@graykode graykode commented Jul 8, 2019 •

Thanks for sharp caught Could you contribute for that? Also it contains jupyter file corresponding to code

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.