Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/kernels/internal/
Dquantization_util.h35 const double qmin_double = qmin; in ChooseQuantizationParams() local
54 const double scale = (rmax - rmin) / (qmax_double - qmin_double); in ChooseQuantizationParams()
64 const double zero_point_from_min = qmin_double - rmin / scale; in ChooseQuantizationParams()
67 std::abs(qmin_double) + std::abs(rmin / scale); in ChooseQuantizationParams()
82 if (zero_point_double < qmin_double) { in ChooseQuantizationParams()