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

gradOutput Ignored #43

Open
parajain opened this issue Dec 22, 2017 · 0 comments
Open

gradOutput Ignored #43

parajain opened this issue Dec 22, 2017 · 0 comments

Comments

@parajain
Copy link

function ReinforceCategorical:updateGradInput(input, gradOutput)

Hi,
I am trying to understand the logic in reinforce implementation. I am new to this so please bear with my basic questions.
Why is gradOutput being ignored? If we multiply gradOutput with rewards, will it be wrong?
Also, what is happening here:self.gradInput:copy(self.output)? Output is a probability distribution right?

Thanks,
Parag

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

1 participant