law reverse_eq_forward
import bend-ml-autograd@0.1.1.0/main.bend as BendMlAutogradimport Base
110# LAW (reverse_eq_forward): for any expression made of constants, X, sums
111# and products, the reverse-mode gradient (starting with gradient 1 at the output)
112# equals the forward-mode derivative. It holds for every x.
113law reverse_eq_forward:
114 for +e: NE
115 for +x: Nat
116 {nbwd(e, x, 1n) == nfwd(e, x) : Nat}
Uses (8)
Used by (0)
No other definition uses this definition.