pub fn top2(logits: &[f32]) -> (usize, f32, usize, f32)
top-1/top-2 (id, value) pairs — the greedy near-tie margin is v1 - v2.