Searched refs:sum_x (Results 1 – 9 of 9) sorted by relevance
/external/tensorflow/tensorflow/lite/testing/ |
D | generate_testspec_test.cc | 34 float sum_x = 0.0f; in TEST() local 40 sum_x += value; in TEST() 47 float stddev = sum_x_square / num - (sum_x / num) * (sum_x / num); in TEST()
|
/external/libtextclassifier/native/tensorflow_models/seq_flow_lite/tflite_ops/ |
D | layer_norm.cc | 174 std::vector<float> sum_x(time_steps, 0.0f); in FlexibleLayerNorm() local 189 sum_x[stats_offset] += input_val; in FlexibleLayerNorm() 198 sum_x[i] = sum_x[i] / num_features; in FlexibleLayerNorm() 200 const float variance = sum_xx[i] - sum_x[i] * sum_x[i]; in FlexibleLayerNorm() 203 bias[i] = offset - sum_x[i] * inverse_stddev * scale; in FlexibleLayerNorm() 336 float sum_x = 0; in DefaultLayerNormFloat() local 339 sum_x += input->data.f[index]; in DefaultLayerNormFloat() 343 const float exp_x = sum_x / num_features; in DefaultLayerNormFloat() 368 float sum_x = 0; in DefaultLayerNorm() local 372 sum_x += temp_buffer[j]; in DefaultLayerNorm() [all …]
|
/external/libhevc/encoder/ |
D | rc_rd_model_fix.c | 185 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 …]
|
D | rc_rd_model.c | 147 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/libchrome-gestures/src/ |
D | stationary_wiggle_filter_interpreter.cc | 34 float sum_x = 0.0; in PushFingerState() local 38 sum_x += fe.x; in PushFingerState() 42 history_[head_].mixed_x = fs.position_x - sum_x / size_; in PushFingerState()
|
/external/webrtc/modules/congestion_controller/goog_cc/ |
D | trendline_estimator.cc | 57 double sum_x = 0; in LinearFitSlope() local 60 sum_x += packet.arrival_time_ms; in LinearFitSlope() 63 double x_avg = sum_x / packets.size(); in LinearFitSlope()
|
/external/pdfium/third_party/lcms/src/ |
D | cmssamp.c | 286 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/ |
D | irc_rd_model.c | 121 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/ |
D | special_math_ops.py | 93 sum_x = math_ops.reduce_sum(x, axis=[-1]) 94 log_gamma_sum_x = math_ops.lgamma(sum_x)
|