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
When the argument type is ComplexF64, forward-mode autodiff raises an error:
ComplexF64
using Enzyme x, ∂x = randn(ComplexF64, 2) autodiff(Forward, sincos, Duplicated, Duplicated(x, ∂x))
dump.txt
The text was updated successfully, but these errors were encountered:
Looks like it is missing a custom rule for cos we end up in flipsign and that does bit twiddling
Sorry, something went wrong.
Yeah simply autodiff(Forward, cos, Duplicated, Duplicated(x, ∂x)) fails.
autodiff(Forward, cos, Duplicated, Duplicated(x, ∂x))
Interestingly sin(complex) doesn't have the flipsign call inside that cos(complex) does.
No branches or pull requests
When the argument type is
ComplexF64
, forward-mode autodiff raises an error:dump.txt
The text was updated successfully, but these errors were encountered: