You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A number of functions in this package and in RobustAndOptimalControl.jl fail when trying to compute gradients through them using ForwardDiff or Zygote. This issue tries to summarize the current status
Problematic functions
Function
AD package
Comment
c2d
ForwardDiff
:zoh requires exp!(::Matrix{Dual}). ForwardDiffChainRules buggy, but manual implementation possible. #844
using ForwardDiff
using ForwardDiffChainRules
@ForwardDiff_frule LinearAlgebra.exp!(x1::AbstractMatrix{<:ForwardDiff.Dual})
foo(x) =sum(LinearAlgebra.exp!(reshape(x, 2, 2)))
v =randn(4)
ForwardDiff.gradient(foo, v)
A number of functions in this package and in RobustAndOptimalControl.jl fail when trying to compute gradients through them using ForwardDiff or Zygote. This issue tries to summarize the current status
Problematic functions
c2d
:zoh
requiresexp!(::Matrix{Dual})
. ForwardDiffChainRules buggy, but manual implementation possible. #844feedback
try/catch
and@warn
are
hinfnorm
svd/qr/schur
hessenberg
GenericLinearAlgebra.Hessenberg
has different fieldnames fromLinearAlgebra.Hessenberg
c2d
example failingRelated issues:
The text was updated successfully, but these errors were encountered: