Skip to main content

softmax

Function softmax 

Source
pub fn softmax(x: VReg, out: VReg) -> Vec<Op>
Expand description

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.