-
```julia
using Enzyme
not_decapode_f = begin
function simulate()
begin
var"__•1" = Vector{Float64}(undef, 1)
__V̇ = Vector{Float64}(undef, 1)
end
…
-
Dear JAX team,
is the following no longer considered a reasonable pattern? I could swear this used to work and found it quite concise. Would be nice to have it back.
Is it more or less equivale…
-
The following code worked with Enzyme 0.11.20 (julia 1.10.2) but fails on Enzyme 0.12.9.
Apologies for the not so minimal MWE.
Setup
```julia
using Pkg
Pkg.activate(temp = true)
Pkg.add(…
jbrea updated
1 month ago
-
In this example, if the callable is mutated during its evaluation, then an error is raised during reverse-mode AD:
```julia
using Enzyme
struct MutatedCallable{T}
x::T
end
function (c::M…
-
I have a few questions on how to improve the implementations for the upcoming varmat and OpenCL PRs and make them more maintainable. This would also cleanup how we do the transform MIR with OpenCL.
…
-
This happened also a couple of days ago. Now I have the code that caused it:
```r
lambda_true = 3
N = 5
set.seed(111111)
(y = rpois(N, lambda_true))
poisson_dat = list(y = y, N = N)
alpha = bet…
-
This works on Julia 1.9 and Enzyme main (https://github.com/EnzymeAD/Enzyme.jl/commit/6692fad483dbe4002be9d254dae959c634d841c9):
```julia
using Enzyme
function f(x)
try
sqrt(-1.0)
…
-
It would be useful to be able to use Enzyme reverse mode over ForwardDiff.jl. Currently the following errors on Enzyme main (5e4e2ef2ef9b8add6dd56e8afaf5a32039ac9f83), ForwardDiff 0.10.36 and Julia 1.…
-
# Code
```julia
import Pkg; Pkg.status()
import Random
import Enzyme
const AV = AbstractVector{T} where T
# ===== Set up objective function =====
normal_pdf(x::Real, mean::Real, var::Re…
-
am now running into:
```ERROR: ArgumentError: cannot reinterpret an `ForwardDiff.Dual{nothing, Float64, 11}` array to `ForwardDiff.Dual{ForwardDiff.Tag{var"#39#40", Float64}, Float64, 12}` whose fi…