Home
last modified time | relevance | path

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

/external/libtextclassifier/native/tensorflow_models/seq_flow_lite/tflite_ops/
Dlayer_norm.cc175 std::vector<float> sum_xx(time_steps, 0.0f); in FlexibleLayerNorm() local
190 sum_xx[stats_offset] += input_val * input_val; in FlexibleLayerNorm()
199 sum_xx[i] = sum_xx[i] / num_features; in FlexibleLayerNorm()
200 const float variance = sum_xx[i] - sum_x[i] * sum_x[i]; in FlexibleLayerNorm()
241 float sum_xx = 0; in DefaultLayerNormFloat() local
244 sum_xx += input->data.f[index] * input->data.f[index]; in DefaultLayerNormFloat()
246 const float exp_xx = sum_xx / num_features; in DefaultLayerNormFloat()
273 float sum_xx = 0; in DefaultLayerNorm() local
277 sum_xx += temp_buffer[j] * temp_buffer[j]; in DefaultLayerNorm()
279 const float exp_xx = sum_xx / num_features; in DefaultLayerNorm()
/external/webrtc/rtc_tools/frame_analyzer/
Dlinear_least_squares.cc189 if (sum_xx && sum_xy) { in AddObservations()
190 *sum_xx += xx; in AddObservations()
193 sum_xx = xx; in AddObservations()
200 RTC_CHECK(sum_xx && sum_xy) << "No observations have been added"; in GetBestSolution()
201 return ToVectorMatrix(GaussianElimination(ConvertTo<double>(*sum_xx), in GetBestSolution()
Dlinear_least_squares.h48 absl::optional<std::valarray<std::valarray<uint64_t>>> sum_xx;