def rows.total

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

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

275def rows.total(xs: List<&2, List<&2, F32>>, acc: F32) -> F32:
276  match xs:
277    case Nil{}:
278      acc
279    case Con{r, t}:
280      rows.total(t, (acc + T.sum.go(r, 0.0) : F32))

Uses (4)

Used by (1)