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

how N batch update the weight_i and weight_h #8

Open
HaiboShi opened this issue Nov 14, 2015 · 1 comment
Open

how N batch update the weight_i and weight_h #8

HaiboShi opened this issue Nov 14, 2015 · 1 comment

Comments

@HaiboShi
Copy link

Hi, I'd like to know if we do the lstm in N batch and obtain the diff from them, how to update the weight for that layer? thanks.

@junhyukoh
Copy link
Owner

I'm not sure if I understand your question correctly.
You can apply any kind of optimizer (e.g., SGD, RMSProp) given the derivative of the weights (diff).
If you define a LSTM layer in prototxt and use a solver from Caffe, you don't have to worry about it because the solver automatically updates the weights of LSTM as it does forward/backward/update.

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