def MatT.softmax_rows.fin
import bend-tensors@0.0.0.2/bend_tensors.bend as BendTensorsimport 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)))