pub fn topk_cpu(logits: &[f32], k: usize) -> Vec<TopKItem>
CPU reference top-K over a full logit vector. Drops −∞ (e.g. masked) entries.