//! Auto-generated contract trait for `cross-entropy-kernel-v1`.
//! Generated by: `pv scaffold --trait contracts/cross-entropy-kernel-v1.yaml`
//! DO NOT EDIT — regenerate from YAML source.
/// Contract trait for `cross-entropy-kernel-v1` v1.0.0.
///
/// Cross-entropy kernel — log-sum-exp stable cross-entropy loss
/// Reference: Shannon (1948) A Mathematical Theory of Communication
/// Reference: Milakov & Gimelshein (2018) Online normalizer calculation for softmax
///
/// Implementors must provide all 2 equation(s).
/// Missing method = compile error. Wrong signature = compile error.