Skip to main content

softmax_of

Function softmax_of 

Source
pub(crate) fn softmax_of(
    logprobs: &BTreeMap<String, f64>,
    temperature: f64,
) -> BTreeMap<String, f64>