quantized_dot

Function quantized_dot 

Source
pub fn quantized_dot(
    a: &QuantizedVector,
    a_params: &QuantizationParams,
    b: &QuantizedVector,
    b_params: &QuantizationParams,
) -> LinalgResult<f32>
Expand description

Perform dot product with two quantized vectors

§Arguments

  • a - The first quantized vector
  • a_params - Quantization parameters for the first vector
  • b - The second quantized vector
  • b_params - Quantization parameters for the second vector

§Returns

The dot product result in floating-point