Skip to main content

softmax_temperature

Function softmax_temperature 

Source
pub fn softmax_temperature(logits: &[f64], temperature: f64) -> Vec<f64>
Expand description

TabFMClassifier.softmax (temperature divides logits before the max-subtracted softmax).