softmax_pdf

Function softmax_pdf 

Source
pub fn softmax_pdf(logits: &[f32], vocab_size: usize) -> Vec<f64>
Expand description

Compute softmax PDF without floor (for entropy calculation).