NRE
NRE copied to clipboard
Calculate gradients and update parameters for CNN+ATT
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
we calculate the loss function from line 114 to 174, and then calculate gradients from 176 to 238.