Home
last modified time | relevance | path

Searched refs:zero_point_from_max_error (Results 1 – 12 of 12) sorted by relevance

/aosp_15_r20/external/tensorflow/tensorflow/core/kernels/uniform_quant_ops/
H A Dmath_utils.cc93 const double zero_point_from_max_error = in AsymmetricQuantize() local
96 zero_point_from_min_error < zero_point_from_max_error in AsymmetricQuantize()
/aosp_15_r20/external/tensorflow/tensorflow/lite/kernels/internal/
H A Dquantization_util.h68 const double zero_point_from_max_error = in ChooseQuantizationParams() local
72 zero_point_from_min_error < zero_point_from_max_error in ChooseQuantizationParams()
/aosp_15_r20/external/pytorch/aten/src/ATen/native/quantized/cpu/
H A DQuantUtils.h153 double zero_point_from_max_error = variable
156 zero_point_from_min_error < zero_point_from_max_error
/aosp_15_r20/external/executorch/backends/xnnpack/runtime/utils/
H A Dutils.cpp113 double zero_point_from_max_error = in ChooseQuantizationParams() local
116 zero_point_from_min_error < zero_point_from_max_error in ChooseQuantizationParams()
/aosp_15_r20/external/executorch/kernels/quantized/cpu/
H A Dop_choose_qparams.cpp149 double zero_point_from_max_error = in calculate_scale_and_zero_point() local
152 zero_point_from_min_error < zero_point_from_max_error in calculate_scale_and_zero_point()
/aosp_15_r20/external/pytorch/aten/src/ATen/native/quantized/cuda/
H A DFusedObsFakeQuant.cu66 double zero_point_from_max_error = in ChooseQuantizationParamsKernelImpl() local
69 zero_point_from_min_error < zero_point_from_max_error in ChooseQuantizationParamsKernelImpl()
/aosp_15_r20/external/pytorch/torch/ao/quantization/fx/
H A D_decomposed.py822 zero_point_from_max_error = qmax + descaled_max
824 zero_point_from_min_error + zero_point_from_max_error > 0,
/aosp_15_r20/external/tensorflow/tensorflow/lite/kernels/internal/reference/
H A Dportable_tensor_utils.cc93 const double zero_point_from_max_error = in PortableAsymmetricQuantizeFloats() local
96 zero_point_from_min_error < zero_point_from_max_error in PortableAsymmetricQuantizeFloats()
/aosp_15_r20/external/tensorflow/tensorflow/lite/kernels/
H A Dtest_util.h790 const float zero_point_from_max_error = in QuantizationParams() local
794 zero_point_from_min_error < zero_point_from_max_error in QuantizationParams()
/aosp_15_r20/external/pytorch/test/quantization/core/
H A Dtest_workflow_ops.py232 zero_point_from_max_error = abs(qmax) - abs(max_val / float(scale))
233 if zero_point_from_min_error < zero_point_from_max_error:
H A Dtest_quantized_tensor.py56 zero_point_from_max_error = abs(qmax) - abs(max_val / float(scale))
57 if zero_point_from_min_error < zero_point_from_max_error:
/aosp_15_r20/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
H A Dneon_tensor_utils.cc2478 const double zero_point_from_max_error = in NeonAsymmetricQuantizeFloats() local
2481 zero_point_from_min_error < zero_point_from_max_error in NeonAsymmetricQuantizeFloats()