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

Policy Gradient Reinforcement Learning with Knet #18

Closed
etotheipluspi opened this issue Jun 23, 2016 · 2 comments
Closed

Policy Gradient Reinforcement Learning with Knet #18

etotheipluspi opened this issue Jun 23, 2016 · 2 comments

Comments

@etotheipluspi
Copy link

etotheipluspi commented Jun 23, 2016

I'm trying to implement a policy gradient method using Knet. To do this, I need to multiply the loss gradients from by a scalar before doing backprop on the rest of the net. Is there a recommended way to do that through the Knet API? If there is a way to run a part of the computational graph that would do the job as well.

@rejuvyesh
Copy link

Is gscale in update! not enough?

@etotheipluspi
Copy link
Author

That should work thanks!

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