Skip to main content

argmax

Function argmax 

Source
pub fn argmax(logits: &[f32]) -> u32
Expand description

The greedy token: the index of the largest logit (super::numerics::argmax).