We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
vjp
1 parent 8073edf commit 82e516dCopy full SHA for 82e516d
packages/core/src/impl.ts
@@ -875,7 +875,7 @@ export const jvp = <const A extends readonly any[], const R>(
875
return makeFn(g) as any;
876
};
877
878
-/** Construct a closure that computes the Jacobian-vector product of `f`. */
+/** Construct a closure that computes the vector-Jacobian product of `f`. */
879
export const vjp = <const A, const R>(
880
f: Fn & ((arg: A) => R),
881
): ((arg: A) => { ret: R; grad: (cot: R) => A }) => {
0 commit comments