Home
last modified time | relevance | path

Searched refs:sum_of_squares (Results 1 – 22 of 22) sorted by relevance

/external/grpc-grpc/src/php/tests/qps/
Dhistogram.php25 private $sum_of_squares; variable in Histogram
40 $this->sum_of_squares = 0;
50 $this->sum_of_squares += $value * $value;
73 public function sum_of_squares() { function in Histogram
74 return $this->sum_of_squares;
87 $this->sum_of_squares = 0;
Dclient.php141 $histogram_result->setSumOfSquares($histogram->sum_of_squares());
166 $histogram_result->setSumOfSquares($histogram->sum_of_squares());
/external/webrtc/modules/audio_processing/aec3/
Dsubtractor_output.cc37 const auto sum_of_squares = [](float a, float b) { return a + b * b; }; in ComputeMetrics() local
38 y2 = std::accumulate(y.begin(), y.end(), 0.f, sum_of_squares); in ComputeMetrics()
40 std::accumulate(e_refined.begin(), e_refined.end(), 0.f, sum_of_squares); in ComputeMetrics()
42 std::accumulate(e_coarse.begin(), e_coarse.end(), 0.f, sum_of_squares); in ComputeMetrics()
44 std::accumulate(s_refined.begin(), s_refined.end(), 0.f, sum_of_squares); in ComputeMetrics()
46 std::accumulate(s_coarse.begin(), s_coarse.end(), 0.f, sum_of_squares); in ComputeMetrics()
Dsuppression_gain.cc135 const auto sum_of_squares = [](float a, float b) { return a + b * b; }; in UpperBandsGain() local
140 render.end(/*band=*/0, ch), 0.0f, sum_of_squares); in UpperBandsGain()
147 render.begin(k, ch), render.end(k, ch), 0.f, sum_of_squares); in UpperBandsGain()
Dreverb_decay_estimator.cc78 const auto sum_of_squares = [](float a, float b) { return a + b * b; }; in BlockEnergyAverage() local
81 sum_of_squares) * in BlockEnergyAverage()
/external/grpc-grpc/test/core/util/
Dhistogram.cc40 double sum_of_squares; member
82 h->sum_of_squares = 0.0; in grpc_histogram_create()
104 h->sum_of_squares += x * x; in grpc_histogram_add()
123 src->sum_of_squares, src->count); in grpc_histogram_merge()
130 double sum_of_squares, double count) { in grpc_histogram_merge_contents() argument
134 dst->sum_of_squares += sum_of_squares; in grpc_histogram_merge_contents()
211 return (h->sum_of_squares * h->count - h->sum * h->sum) / in grpc_histogram_variance()
224 return h->sum_of_squares; in grpc_histogram_sum_of_squares()
Dhistogram.h56 double sum_of_squares, double count);
/external/grpc-grpc/src/php/tests/qps/generated_code/Grpc/Testing/
DHistogramData.php37 private $sum_of_squares = 0.0; variable in Grpc\\Testing\\HistogramData
142 return $this->sum_of_squares;
153 $this->sum_of_squares = $var;
/external/angle/build/util/lib/common/
Dperf_tests_results_helper.py59 sum_of_squares = 0
63 sum_of_squares += (bucket['mean'] - geom_mean) ** 2 * bucket['count']
64 return geom_mean, math.sqrt(sum_of_squares / count)
/external/cronet/build/util/lib/common/
Dperf_tests_results_helper.py59 sum_of_squares = 0
63 sum_of_squares += (bucket['mean'] - geom_mean) ** 2 * bucket['count']
64 return geom_mean, math.sqrt(sum_of_squares / count)
/external/grpc-grpc/src/ruby/qps/
Dhistogram.rb67 def sum_of_squares method in Histogram
82 @sum_of_squares += hist.sum_of_squares
Dproxy-worker.rb94 sum_of_squares: @histogram.sum_of_squares,
Dclient.rb142 sum_of_squares: @histogram.sum_of_squares,
/external/webrtc/common_audio/resampler/
Dpush_sinc_resampler_unittest.cc206 double sum_of_squares = 0; in ResampleTest() local
225 sum_of_squares += error * error; in ResampleTest()
228 double rms_error = sqrt(sum_of_squares / output_samples); in ResampleTest()
Dsinc_resampler_unittest.cc292 double sum_of_squares = 0; in TEST_P() local
310 sum_of_squares += error * error; in TEST_P()
313 double rms_error = sqrt(sum_of_squares / output_samples); in TEST_P()
/external/grpc-grpc/test/cpp/qps/
Dhistogram.h66 p.sum_of_squares(), p.count()); in MergeProto()
/external/grpc-grpc/src/python/grpcio_tests/tests/qps/
Dhistogram.py64 data.sum_of_squares = self._sum_of_squares
/external/grpc-grpc/src/proto/grpc/testing/
Dstats.proto57 double sum_of_squares = 5; field
/external/rust/crates/grpcio-sys/grpc/src/proto/grpc/testing/
Dstats.proto57 double sum_of_squares = 5; field
/external/grpc-grpc-java/benchmarks/src/main/proto/grpc/testing/
Dstats.proto54 double sum_of_squares = 5; field
/external/tensorflow/tensorflow/compiler/xla/tests/
Dbatch_normalization_test.cc185 auto sum_of_squares = in XLA_TEST_F() local
190 auto variance = Div(sum_of_squares, count); in XLA_TEST_F()
/external/rust/crates/rayon/
DREADME.md29 fn sum_of_squares(input: &[i32]) -> i32 {