Searched refs:qparams (Results 1 – 1 of 1) sorted by relevance
133 void Quantize(const QuantizationParams& qparams, const std::vector<float>& src, in Quantize() argument138 const float transformed_val = qparams.zero_point + real_val / qparams.scale; in Quantize()144 void Dequantize(const QuantizationParams& qparams, in Dequantize() argument149 (*dst)[i] = qparams.scale * (quantized_val - qparams.zero_point); in Dequantize()