def MatT.softmax_rows.fin

bend-tensors@0.0.0.2 · bend_tensors.bend:1069

import bend-tensors@0.0.0.2/bend_tensors.bend as BendTensors
import Base

1069def MatT.softmax_rows.fin(+r: Nat, +c: Nat, +e: MatT(r, c)) -> MatT(r, c):
1070  MatT.scale_rows(r, c, e, VecT.map(~(s => F32.div(1.0, s)), r, MatT.sum_rows(r, c, e)))

Uses (6)

Used by (1)