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

[autodiff] Add has_grad for checking grad field #5293

Closed
wants to merge 2 commits into from

Conversation

erizmr
Copy link
Contributor

@erizmr erizmr commented Jun 29, 2022

Related issue = #5274
Add a public API field.has_grad() for checking whether a field has a grad field for reverse mode autodiff.
So that users can avoid using internal functions field.snode.ptr.has_adjoint() to achieve the same goal.

@netlify
Copy link

netlify bot commented Jun 29, 2022

Deploy Preview for docsite-preview ready!

Name Link
🔨 Latest commit 0c2e7dc
🔍 Latest deploy log https://app.netlify.com/sites/docsite-preview/deploys/62bc0da2d388020009e4cd97
😎 Deploy Preview https://deploy-preview-5293--docsite-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@erizmr
Copy link
Contributor Author

erizmr commented Aug 1, 2022

outdated

@erizmr erizmr closed this Aug 1, 2022
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.

1 participant