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

Calculate gradients and update parameters for CNN+ATT #25

Open
pvthuy opened this issue May 26, 2018 · 1 comment
Open

Calculate gradients and update parameters for CNN+ATT #25

pvthuy opened this issue May 26, 2018 · 1 comment

Comments

@pvthuy
Copy link

pvthuy commented May 26, 2018

For the code at: https://github.com/thunlp/NRE/blob/master/CNN%2BATT/train.cpp

I can not follow how to calculate gradients and update parameters, maybe from line 193 to line 238.

Could anyone explain, please?
@Mrlyk423

@Mrlyk423
Copy link
Member

we calculate the loss function from line 114 to 174, and then calculate gradients from 176 to 238.

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