pub fn quantize(
tensor: CubeTensor,
scheme: &QuantScheme,
scale: CubeTensor,
global: Option<CubeTensor>,
) -> CubeTensorExpand description
Convert the tensor to a lower precision data type based on the quantization scheme and parameters.