Compute Gramians of Jacobians by combining vjp
and jvp
#155
Closed
PierreQuinton
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If$J$ is the Jacobian of some $f$ at some $x$ , then we compute the jacobian using $JJ^\top$ .
vmap
onjvp
orvjp
, then we compute the Gramian by computingWhat we could do is to compose
vjp
andjvp
and usevmap
on that to compute the Gramian directly without conputing the full Jacobian.Beta Was this translation helpful? Give feedback.
All reactions