def log.l

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

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

261def log.l(xs: List<&2, F32>) -> List<&2, F32>:
262  match xs:
263    case Nil{}:
264      Nil{}
265    case Con{+h, t}:
266      F32.log(F32.max(h, 0.000000000001)) <> log.l(t)

Uses (4)

Used by (1)