pub trait Sampler { // Required method fn sample(&self, logits: ArrayView<'_, f32, Ix2>) -> Vec<u32>; }