Skip to main content

compute_range

Function compute_range 

pub fn compute_range<B>(
    scheme: &QuantScheme,
    tensor: <B as BackendTypes>::FloatTensorPrimitive,
    calibration: &Calibration,
) -> (<B as BackendTypes>::FloatTensorPrimitive, <B as BackendTypes>::FloatTensorPrimitive)
where B: Backend,
Expand description

Compute the quantization range mapping.