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

Revert "Remove grad from variable exprs" #181

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

adam-ce
Copy link

@adam-ce adam-ce commented Aug 25, 2021

This reverts parts of commit 44e088c.

The var.grad() api is more convenient than requiring to first bind a
float and then reading it back. for instance, expr.propagate() and
var.grad() can be used in unit tests. see also
#177 (comment)

I ran the unit test in autodiff/tests on linux, but i'm relatively new to pull requests in general and this project in particular. so please help to run everything needed :)

This reverts parts of commit 44e088c.

The var.grad() api is more convenient than requiring to first bind a
float and then reading it back. for instance, expr.propagate() and
var.grad() can be used in unit tests. see also
autodiff#177 (comment)
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

Successfully merging this pull request may close these issues.

None yet

1 participant