Searched refs:sum_xx (Results 1 – 3 of 3) sorted by relevance
175 std::vector<float> sum_xx(time_steps, 0.0f); in FlexibleLayerNorm() local190 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() local244 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() local277 sum_xx += temp_buffer[j] * temp_buffer[j]; in DefaultLayerNorm()279 const float exp_xx = sum_xx / num_features; in DefaultLayerNorm()
189 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()
48 absl::optional<std::valarray<std::valarray<uint64_t>>> sum_xx;