Shouldn't here be a +=?
Opened this issue · 5 comments
wendlerc commented
shionhonda commented
You're right. It should be +=
sevencheung2021 commented
so ,line 58 should be a += ?
wendlerc commented
No I think at some point I noticed it is fine the way it is.
…On Fri, 15 Apr 2022 at 15:47, sevencheung2021 ***@***.***> wrote:
so ,line 58 should be a += ?
—
Reply to this email directly, view it on GitHub
<#20 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB5YNASZ6HIIHWTZW66SINLVFFXQRANCNFSM5BE56ZRQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
VincentBt commented
I agree with @ChrislyBaer, it is fine the way it is: there is no need for a "+="
See https://pytorch.org/tutorials/beginner/transformer_tutorial.html#define-the-model
shionhonda commented
@VincentBt You are definitely right. I'm sorry for confusing you all with my previous comment.