Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/kernels/
Dkernel_util.cc129 int32_t qmin, int32_t qmax, in CalculateActivationRangeQuantizedImpl() argument
140 *act_min = std::max(qmin, quantize(0.0)); in CalculateActivationRangeQuantizedImpl()
143 *act_min = std::max(qmin, quantize(0.0)); in CalculateActivationRangeQuantizedImpl()
146 *act_min = std::max(qmin, quantize(-1.0)); in CalculateActivationRangeQuantizedImpl()
149 *act_min = qmin; in CalculateActivationRangeQuantizedImpl()
160 int32_t qmin = 0; in CalculateActivationRangeQuantized() local
163 qmin = std::numeric_limits<uint8_t>::min(); in CalculateActivationRangeQuantized()
166 qmin = std::numeric_limits<int8_t>::min(); in CalculateActivationRangeQuantized()
169 qmin = std::numeric_limits<int16_t>::min(); in CalculateActivationRangeQuantized()
175 CalculateActivationRangeQuantizedImpl(activation, qmin, qmax, output, act_min, in CalculateActivationRangeQuantized()
[all …]
/external/iproute2/tc/
Dtc_red.c30 int tc_red_eval_P(unsigned int qmin, unsigned int qmax, double prob) in tc_red_eval_P() argument
32 int i = qmax - qmin; in tc_red_eval_P()
53 int tc_red_eval_ewma(unsigned int qmin, unsigned int burst, unsigned int avpkt) in tc_red_eval_ewma() argument
57 double a = (double)burst + 1 - (double)qmin/avpkt; in tc_red_eval_ewma()
61 burst, 1 + qmin/avpkt); in tc_red_eval_ewma()
Dtc_red.h4 extern int tc_red_eval_P(unsigned qmin, unsigned qmax, double prob);
5 extern int tc_red_eval_ewma(unsigned qmin, unsigned burst, unsigned avpkt);
/external/tensorflow/tensorflow/lite/kernels/internal/
Dquantization_util.h33 const T qmin = std::numeric_limits<T>::min() + (narrow_range ? 1 : 0); in ChooseQuantizationParams() local
35 const double qmin_double = qmin; in ChooseQuantizationParams()
83 nudged_zero_point = qmin; in ChooseQuantizationParams()
91 TFLITE_CHECK_GE(nudged_zero_point, qmin); in ChooseQuantizationParams()
/external/gemmlowp/doc/
Dquantization_example.cc79 const float qmin = 0; in ChooseQuantizationParams() local
83 const double scale = (max - min) / (qmax - qmin); in ChooseQuantizationParams()
91 const double initial_zero_point = qmin - min / scale; in ChooseQuantizationParams()
99 if (initial_zero_point < qmin) { in ChooseQuantizationParams()
100 nudged_zero_point = qmin; in ChooseQuantizationParams()
/external/flac/libFLAC/
Dlpc.c170 FLAC__int32 qmax, qmin; in FLAC__lpc_quantize_coefficients() local
178 qmin = -qmax; in FLAC__lpc_quantize_coefficients()
218 else if(q < qmin) in FLAC__lpc_quantize_coefficients()
219 …izer overflow: q<qmin %d<%d shift=%d cmax=%f precision=%u lpc[%u]=%f\n",q,qmin,*shift,cmax,precisi… in FLAC__lpc_quantize_coefficients()
223 else if(q < qmin) in FLAC__lpc_quantize_coefficients()
224 q = qmin; in FLAC__lpc_quantize_coefficients()
246 else if(q < qmin) in FLAC__lpc_quantize_coefficients()
247 …izer overflow: q<qmin %d<%d shift=%d cmax=%f precision=%u lpc[%u]=%f\n",q,qmin,*shift,cmax,precisi… in FLAC__lpc_quantize_coefficients()
251 else if(q < qmin) in FLAC__lpc_quantize_coefficients()
252 q = qmin; in FLAC__lpc_quantize_coefficients()
/external/eigen/Eigen/src/misc/
Dblas.h115 double BLASFUNC(qmin) (int *, double *, int *);
/external/eigen/bench/btl/libs/BLAS/
Dblas.h136 double BLASFUNC(qmin) (int *, double *, int *);
/external/tensorflow/tensorflow/lite/toco/
Dtooling_util.cc1669 float qmin = 0, qmax = 255; in ResolveModelFlags() local
1671 qmin = -32768; in ResolveModelFlags()
1674 input_minmax.min = (qmin - mean_value) / std_value; in ResolveModelFlags()