Decode from INT16
| 301 | |
| 302 | // Decode from INT16 |
| 303 | void EntropyInt16Quantizer::decode(const int16_t *in, size_t dim, |
| 304 | float *out) const { |
| 305 | for (size_t i = 0; i < dim; ++i) { |
| 306 | out[i] = in[i] * this->scale_reciprocal() - this->bias(); |
| 307 | } |
| 308 | } |
| 309 | |
| 310 | // Feed the UINT16 quantizer |
| 311 | bool EntropyUInt16Quantizer::feed(const float *vec, size_t dim) { |
nothing calls this directly
no test coverage detected