pub fn validate_contexts(contexts: &[Vec<Vec<f32>>]) -> Result<()>
Reject empty, oversized, or non-finite contexts before inference.