25 constexpr uint16_t
ZERO = 0x0000;
Constants for attention mechanism calculations.
constexpr int KV_REPETITION_FACTOR_DEFAULT
constexpr float MIN_SCALE
constexpr float ATTENTION_SCALE_BASE
constexpr float MAX_SCALE
constexpr float ATTENTION_SCALE_DEFAULT
Constants for BFloat16 number format handling.
constexpr uint16_t SIGN_BIT
constexpr uint16_t NEG_ZERO
constexpr uint16_t EXPONENT_MASK
constexpr uint16_t MANTISSA_MASK
Constants for ensuring numeric stability.
constexpr float DEFAULT_EPS
constexpr float MIN_NORM_EPS
constexpr float MAX_LOGIT_THRESHOLD
Constants for Rotary Position Embedding (RoPE)
constexpr float ROPE_THETA
constexpr int MAX_SEQUENCE_LENGTH