Home
last modified time | relevance | path

Searched refs:zero_point_double (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/internal/
Dquantization_util.h71 const double zero_point_double = in ChooseQuantizationParams() local
82 if (zero_point_double < qmin_double) { in ChooseQuantizationParams()
84 } else if (zero_point_double > qmax_double) { in ChooseQuantizationParams()
87 nudged_zero_point = static_cast<T>(round(zero_point_double)); in ChooseQuantizationParams()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dportable_tensor_utils.cc95 const double zero_point_double = in PortableAsymmetricQuantizeFloats() local
100 if (zero_point_double <= qmin_double) { in PortableAsymmetricQuantizeFloats()
102 } else if (zero_point_double >= qmax_double) { in PortableAsymmetricQuantizeFloats()
105 nudged_zero_point = static_cast<int8_t>(round(zero_point_double)); in PortableAsymmetricQuantizeFloats()
/external/tensorflow/tensorflow/lite/kernels/
Dtest_util.h736 const float zero_point_double = in QuantizationParams() local
748 if (zero_point_double < qmin_double) { in QuantizationParams()
750 } else if (zero_point_double > qmax_double) { in QuantizationParams()
753 nudged_zero_point = static_cast<T>(std::round(zero_point_double)); in QuantizationParams()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Dneon_tensor_utils.cc2381 const double zero_point_double = in NeonAsymmetricQuantizeFloats() local
2386 if (zero_point_double <= qmin_double) { in NeonAsymmetricQuantizeFloats()
2388 } else if (zero_point_double >= qmax_double) { in NeonAsymmetricQuantizeFloats()
2391 nudged_zero_point = static_cast<int8>(round(zero_point_double)); in NeonAsymmetricQuantizeFloats()