Skip to content

check numerical stability properties when dG/d(u,p) is highly stiff #14

Open
@gszep

Description

@gszep

The implicit layers approach to calculating gradients requires solving a linear system with A::Matrix \ x::Vector where A is the Jacobian dG/d(u,p) where G = [ F, det(J) ]. Let's make a plot of the percentage error between finite difference and autodiff as the condition number for A is increased. @rveltz I use the same linear solvers as you, do you know what happens when your matrix J = dF/du is ill-conditioned?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestquestionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions