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
spdiagm
The following code fails
function f(p) A = spdiagm(0 => 1:11, 1 => p) return sum(A) end p = rand(10) f(p) Enzyme.gradient(Reverse, f, p)
But it works if for example I use A = spdiagm(0 => ones(11), 1 => p).
A = spdiagm(0 => ones(11), 1 => p)
The error is
ERROR: Enzyme compilation failed due to illegal type analysis. Current scope: ; Function Attrs: mustprogress willreturn
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The following code fails
But it works if for example I use
A = spdiagm(0 => ones(11), 1 => p)
.The error is
The text was updated successfully, but these errors were encountered: