def Mat.softmax_ce_checked

bend-ml-tensor-array@0.1.19.0 · main.bend:1462

import bend-ml-tensor-array@0.1.19.0/main.bend as BendMlTensorArray
import Base

1462# like Mat.softmax_ce, but returns None unless labels has exactly n entries
1463def Mat.softmax_ce_checked(+n: Nat, +c: Nat, z: Mat<n, c>, +labels: List<&2, Nat>) -> Maybe<&1, MCE<n, c>>:
1464  ce_checked(labels_len_is(labels, n), n, c, z, labels)

Uses (7)

Used by (0)

No other definition uses this definition.