quantize
Quantize a float vector to integer codes with per-group scales.
Return
QuantizedVector containing codes and scales
Parameters
input
Float values (already rotated)
bits
Bits per code (2, 3, 4, or 8)
Quantize a float vector to integer codes with per-group scales.
QuantizedVector containing codes and scales
Float values (already rotated)
Bits per code (2, 3, 4, or 8)