We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is it possible to self define gradient value for certain input value where the gradient is not defined? One example would be x= 0 for f(x) = 1/x
The text was updated successfully, but these errors were encountered:
Yes, but you'll need to dip into the internals of autograd library. Here's an example of creating auto-diff functions compatible with autograd: https://github.com/CamDavidsonPilon/autograd-gamma/blob/master/autograd_gamma/__init__.py
So it's possible, but requires more work.
Sorry, something went wrong.
No branches or pull requests
Is it possible to self define gradient value for certain input value where the gradient is not defined? One example would be x= 0 for f(x) = 1/x
The text was updated successfully, but these errors were encountered: