Train the quantizer
| 32 | |
| 33 | //! Train the quantizer |
| 34 | bool BinaryQuantizer::train() { |
| 35 | return true; |
| 36 | } |
| 37 | |
| 38 | //! Quantize data: encode the float input to uint32_t output |
| 39 | void BinaryQuantizer::encode(const float *in, size_t dim, uint32_t *out) const { |
nothing calls this directly
no outgoing calls
no test coverage detected