pub fn check_table_bindings(scheme: &QuantScheme, table_provided: bool)Expand description
Panic when the lookup-table binding and the scheme disagree.
The table binds as a buffer of its own, so nothing ties it to the mode: a missing one leaves
QuantMode::Lookup nothing to index, an extra one
is a caller quantizing differently than the scheme it passed. Lookup is also only wired where
the decode goes through the packed-u32 unpack, and only for the integer values whose field is
a plain bit range — a minifloat field carries its own float semantics, which an index does not
have.
The table must hold 2^bits f32 entries; register_table checks the
binding’s length against that, the one host-side site holding both.