Skip to content

Symbols not found: [ cblas_xerbla ] #312

@vchuravy

Description

@vchuravy
julia> function f_test_1(A, x)
           u = A*x[2:end] .+ x[1]
           return u
       end
f_test_1 (generic function with 1 method)

julia> J_f_1(A, x) = Enzyme.jacobian(Reverse, θ -> f_test_1(A, θ), x, Val(1))
J_f_1 (generic function with 1 method)

julia> x = ones(6)

julia> using LinearAlgebra

julia> A = Matrix{Float64}(LinearAlgebra.I, 5, 5)

From

https://discourse.julialang.org/t/mutating-array-workaround-for-reverse-ad/81009

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions