verify_dsa_block

Function verify_dsa_block 

Source
pub fn verify_dsa_block(
    cfg: &Glm5NextDsaConfig,
    full_heads: usize,
    source: &dyn TensorSource,
) -> Result<DsaBindReport>
Expand description

Verify one DSA block against the spec table.

Every spec must be present with the exact dtype and shape, and no self_attn.* tensor may be left unclaimed. Both directions matter: a missing tensor is a broken layer, and an unexpected one means the checkpoint is not the model we think it is.