Skip to content
tmpl

gate_grads

void gate_grads()

Chain one step's hidden gradient through the gates. On return dG holds d(pre-activation) for [i, f, g, o] and dc holds dL/dc_{t-1}.