pub fn softmax(x: VReg, out: VReg) -> Vec<Op>
The softmax of the scores v[x] into v[out]: the maximum, each exp(s − max), their sum, one reciprocal, the products. Scalars 0..1 are its scratch.
v[x]
v[out]
exp(s − max)