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

Get whether the field needs gradients or not #2498

Closed
ljcc0930 opened this issue Jul 7, 2021 · 2 comments
Closed

Get whether the field needs gradients or not #2498

ljcc0930 opened this issue Jul 7, 2021 · 2 comments
Labels
autodiff This issue is related to automatic differentiation system feature request Suggest an idea on this project

Comments

@ljcc0930
Copy link
Contributor

ljcc0930 commented Jul 7, 2021

No description provided.

@ljcc0930 ljcc0930 added the feature request Suggest an idea on this project label Jul 7, 2021
@ljcc0930 ljcc0930 changed the title [AutoDiff] Get whether the snode needs gradients or not [AutoDiff] Get whether the field needs gradients or not Jul 7, 2021
@ljcc0930
Copy link
Contributor Author

ljcc0930 commented Jul 7, 2021

related issue = #2499

@ljcc0930 ljcc0930 changed the title [AutoDiff] Get whether the field needs gradients or not [autodiff] Get whether the field needs gradients or not Jul 7, 2021
@ljcc0930
Copy link
Contributor Author

ljcc0930 commented Jul 7, 2021

Temporary solution: <field>.snode.needs_grad

@ljcc0930 ljcc0930 added the autodiff This issue is related to automatic differentiation system label Jul 12, 2021
@ljcc0930 ljcc0930 changed the title [autodiff] Get whether the field needs gradients or not Get whether the field needs gradients or not Jul 12, 2021
@erizmr erizmr closed this as completed Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autodiff This issue is related to automatic differentiation system feature request Suggest an idea on this project
Projects
None yet
Development

No branches or pull requests

2 participants