Expand description
Quantisation, casting and the final value emitted to the receiver.
Structs§
- Quant
Spec - Quantisation parameters for one field: step, optional declared range and wire width.
Functions§
- deliver
- How a predictor output is delivered to the receiver.
- final_
value - The value the receiver emits: cast to the field type, rounded and saturated.
- quantise_
q - Quantise a real value to an integer, reporting whether clamping occurred.
- quantised_
value - Dequantise a quantised integer with a single multiplication.
- raw_
value - Cast an unquantised real sample.
- truth_
value - The sender’s sample as the receiver would emit it, with saturation reported.