Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/testing/
Dgenerate_testspec_test.cc32 float sum_x = 0.0f; in TEST() local
38 sum_x += value; in TEST()
45 float stddev = sum_x_square / num - (sum_x / num) * (sum_x / num); in TEST()
/external/adhd/cras/src/server/
Drate_estimator.c20 lsq->sum_x += x; in least_square_add_sample()
30 num = lsq->num_samples * lsq->sum_xy - lsq->sum_x * lsq->sum_y; in least_square_best_fit_slope()
31 denom = lsq->num_samples * lsq->sum_x2 - lsq->sum_x * lsq->sum_x; in least_square_best_fit_slope()
Drate_estimator.h16 double sum_x; member
/external/libhevc/encoder/
Drc_rd_model_fix.c185 number_t sum_x; in find_model_coeffs() local
213 sum_x.sm = 0; in find_model_coeffs()
226 sum_x.e = 0; in find_model_coeffs()
287 add32_var_q(x0, sum_x, &sum_x); in find_model_coeffs()
315 div32_var_q(sum_x, s_num_frms_used, &sum_x); in find_model_coeffs()
342 mult32_var_q(sum_x, sum_y, &temp); in find_model_coeffs()
346 mult32_var_q(sum_x2, sum_x, &temp); in find_model_coeffs()
354 mult32_var_q(sum_x, sum_x, &temp); in find_model_coeffs()
382 mult32_var_q(model_coeff_a, sum_x, &temp); in find_model_coeffs()
400 mult32_var_q(sum_x, sum_y, &temp); in find_model_coeffs()
[all …]
Drc_rd_model.c147 float sum_x = 0; in find_model_coeffs() local
172 sum_x += x0; in find_model_coeffs()
182 sum_x /= u1_num_frms_used; in find_model_coeffs()
199 var_x_y = sum_x_y - sum_x * sum_y; in find_model_coeffs()
200 var_x2_x = sum_x3 - sum_x2 * sum_x; in find_model_coeffs()
202 var_x_x = sum_x2 - sum_x * sum_x; in find_model_coeffs()
214 model_coeff_c = sum_y - (model_coeff_a * sum_x) - (model_coeff_b * sum_x2); in find_model_coeffs()
224 var_x_y = sum_x_y - sum_x * sum_y; in find_model_coeffs()
225 var_x_x = sum_x2 - sum_x * sum_x; in find_model_coeffs()
230 model_coeff_c = sum_y - (model_coeff_a * sum_x); in find_model_coeffs()
/external/pdfium/third_party/lcms/src/
Dcmssamp.c286 double sum_x = 0, sum_x2 = 0, sum_x3 = 0, sum_x4 = 0; in RootOfLeastSquaresFitQuadraticCurve() local
300 sum_x += xn; in RootOfLeastSquaresFitQuadraticCurve()
310 _cmsVEC3init(&m.v[0], n, sum_x, sum_x2); in RootOfLeastSquaresFitQuadraticCurve()
311 _cmsVEC3init(&m.v[1], sum_x, sum_x2, sum_x3); in RootOfLeastSquaresFitQuadraticCurve()
/external/libavc/encoder/
Dirc_rd_model.c121 float sum_x = 0; in find_model_coeffs() local
149 sum_x += x0; in find_model_coeffs()
159 sum_x /= u1_num_frms_used; in find_model_coeffs()
/external/tensorflow/tensorflow/python/ops/
Dspecial_math_ops.py79 sum_x = math_ops.reduce_sum(x, axis=[-1])
80 log_gamma_sum_x = math_ops.lgamma(sum_x)