def ggrad

bend-ml-autograd@0.1.1.0 · main.bend:203

import bend-ml-autograd@0.1.1.0/main.bend as BendMlAutograd
import Base
import bend-ml-tensor@0.1.0.0/main.bend as T

203# gradient of the expression with respect to each variable of env
204def ggrad(e: G, +env: List<&2, F32>) -> List<&2, F32>:
205  gbwd(e, env, 1.0, T.fill.l(List.length(&2, F32, env), 0.0))

Uses (6)

Used by (0)

No other definition uses this definition.