Home
last modified time | relevance | path

Searched refs:mean_ (Results 1 – 25 of 37) sorted by relevance

12

/external/webrtc/rtc_base/numerics/
Drunning_statistics.h55 const double delta = sample - mean_; in AddSample()
56 mean_ += delta / size_; in AddSample()
57 const double delta2 = sample - mean_; in AddSample()
73 const double delta = sample - mean_; in RemoveSample()
74 mean_ -= delta / size_; in RemoveSample()
75 const double delta2 = sample - mean_; in RemoveSample()
88 (mean_ * size_ + other.mean_ * other.size_) / new_size; in MergeStatistics()
93 return stats.size_ * (new_mean * (new_mean - 2 * stats.mean_) + in MergeStatistics()
94 stats.mean_ * stats.mean_); in MergeStatistics()
97 mean_ = new_mean; in MergeStatistics()
[all …]
/external/webrtc/modules/audio_processing/echo_detector/
Dmean_variance_estimator.cc26 mean_ = (1.f - kAlpha) * mean_ + kAlpha * value; in Update()
28 (1.f - kAlpha) * variance_ + kAlpha * (value - mean_) * (value - mean_); in Update()
29 RTC_DCHECK(isfinite(mean_)); in Update()
39 return mean_; in mean()
43 mean_ = 0.f; in Clear()
Dmean_variance_estimator.h26 float mean_ = 0.f;
/external/abseil-cpp/absl/random/
Dpoisson_distribution.h63 double mean() const { return mean_; } in mean()
66 return a.mean_ == b.mean_;
76 double mean_; variable
134 : mean_(mean), split_(0) { in param_type()
141 if (mean_ < 10) { in param_type()
144 emu_ = std::exp(-mean_); in param_type()
145 } else if (mean_ <= 50) { in param_type()
147 split_ = 1 + static_cast<int>(mean_ / 10.0); in param_type()
148 emu_ = std::exp(-mean_ / static_cast<double>(split_)); in param_type()
154 lmu_ = std::log(mean_); in param_type()
[all …]
Dgaussian_distribution.h96 : mean_(mean), stddev_(stddev) {} in mean_() function
100 result_type mean() const { return mean_; } in mean()
106 return a.mean_ == b.mean_ && a.stddev_ == b.stddev_;
114 result_type mean_;
Dpoisson_distribution_test.cc164 explicit PoissonModel(double mean) : mean_(mean) {} in PoissonModel()
166 double mean() const { return mean_; } in mean()
167 double variance() const { return mean_; } in variance()
169 double skew() const { return 1.0 / mean_; } in skew()
170 double kurtosis() const { return 3.0 + 1.0 / mean_; } in kurtosis()
190 ABSL_INTERNAL_LOG(INFO, absl::StrCat("CDF (mean = ", mean_, ")")); in LogCDF()
198 const double mean_; member in __anon3b9c9a850111::PoissonModel
214 ABSL_ASSERT(mean_ < 201.0); in InitCDF()
/external/webrtc/third_party/abseil-cpp/absl/random/
Dpoisson_distribution.h63 double mean() const { return mean_; } in mean()
66 return a.mean_ == b.mean_;
76 double mean_; variable
134 : mean_(mean), split_(0) { in param_type()
141 if (mean_ < 10) { in param_type()
144 emu_ = std::exp(-mean_); in param_type()
145 } else if (mean_ <= 50) { in param_type()
147 split_ = 1 + static_cast<int>(mean_ / 10.0); in param_type()
148 emu_ = std::exp(-mean_ / static_cast<double>(split_)); in param_type()
154 lmu_ = std::log(mean_); in param_type()
[all …]
Dgaussian_distribution.h96 : mean_(mean), stddev_(stddev) {} in mean_() function
100 result_type mean() const { return mean_; } in mean()
106 return a.mean_ == b.mean_ && a.stddev_ == b.stddev_;
114 result_type mean_;
Dpoisson_distribution_test.cc164 explicit PoissonModel(double mean) : mean_(mean) {} in PoissonModel()
166 double mean() const { return mean_; } in mean()
167 double variance() const { return mean_; } in variance()
169 double skew() const { return 1.0 / mean_; } in skew()
170 double kurtosis() const { return 3.0 + 1.0 / mean_; } in kurtosis()
190 ABSL_INTERNAL_LOG(INFO, absl::StrCat("CDF (mean = ", mean_, ")")); in LogCDF()
198 const double mean_; member in __anon7df3b2f40111::PoissonModel
214 ABSL_ASSERT(mean_ < 201.0); in InitCDF()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/
Dpoisson_distribution.h63 double mean() const { return mean_; } in mean()
66 return a.mean_ == b.mean_;
76 double mean_; variable
134 : mean_(mean), split_(0) { in param_type()
141 if (mean_ < 10) { in param_type()
144 emu_ = std::exp(-mean_); in param_type()
145 } else if (mean_ <= 50) { in param_type()
147 split_ = 1 + static_cast<int>(mean_ / 10.0); in param_type()
148 emu_ = std::exp(-mean_ / static_cast<double>(split_)); in param_type()
154 lmu_ = std::log(mean_); in param_type()
[all …]
Dgaussian_distribution.h96 : mean_(mean), stddev_(stddev) {} in mean_() function
100 result_type mean() const { return mean_; } in mean()
106 return a.mean_ == b.mean_ && a.stddev_ == b.stddev_;
114 result_type mean_;
Dpoisson_distribution_test.cc165 explicit PoissonModel(double mean) : mean_(mean) {} in PoissonModel()
167 double mean() const { return mean_; } in mean()
168 double variance() const { return mean_; } in variance()
170 double skew() const { return 1.0 / mean_; } in skew()
171 double kurtosis() const { return 3.0 + 1.0 / mean_; } in kurtosis()
191 ABSL_INTERNAL_LOG(INFO, absl::StrCat("CDF (mean = ", mean_, ")")); in LogCDF()
199 const double mean_; member in __anonbd44bce60111::PoissonModel
215 ABSL_ASSERT(mean_ < 201.0); in InitCDF()
/external/angle/third_party/abseil-cpp/absl/random/
Dpoisson_distribution.h63 double mean() const { return mean_; } in mean()
66 return a.mean_ == b.mean_;
76 double mean_; variable
134 : mean_(mean), split_(0) { in param_type()
141 if (mean_ < 10) { in param_type()
144 emu_ = std::exp(-mean_); in param_type()
145 } else if (mean_ <= 50) { in param_type()
147 split_ = 1 + static_cast<int>(mean_ / 10.0); in param_type()
148 emu_ = std::exp(-mean_ / static_cast<double>(split_)); in param_type()
154 lmu_ = std::log(mean_); in param_type()
[all …]
Dgaussian_distribution.h96 : mean_(mean), stddev_(stddev) {} in mean_() function
100 result_type mean() const { return mean_; } in mean()
106 return a.mean_ == b.mean_ && a.stddev_ == b.stddev_;
114 result_type mean_;
Dpoisson_distribution_test.cc165 explicit PoissonModel(double mean) : mean_(mean) {} in PoissonModel()
167 double mean() const { return mean_; } in mean()
168 double variance() const { return mean_; } in variance()
170 double skew() const { return 1.0 / mean_; } in skew()
171 double kurtosis() const { return 3.0 + 1.0 / mean_; } in kurtosis()
191 ABSL_INTERNAL_LOG(INFO, absl::StrCat("CDF (mean = ", mean_, ")")); in LogCDF()
199 const double mean_; member in __anon6b4cbfd40111::PoissonModel
215 ABSL_ASSERT(mean_ < 201.0); in InitCDF()
/external/libtextclassifier/abseil-cpp/absl/random/
Dpoisson_distribution.h63 double mean() const { return mean_; } in mean()
66 return a.mean_ == b.mean_;
76 double mean_; variable
134 : mean_(mean), split_(0) { in param_type()
141 if (mean_ < 10) { in param_type()
144 emu_ = std::exp(-mean_); in param_type()
145 } else if (mean_ <= 50) { in param_type()
147 split_ = 1 + static_cast<int>(mean_ / 10.0); in param_type()
148 emu_ = std::exp(-mean_ / static_cast<double>(split_)); in param_type()
154 lmu_ = std::log(mean_); in param_type()
[all …]
Dgaussian_distribution.h96 : mean_(mean), stddev_(stddev) {} in mean_() function
100 result_type mean() const { return mean_; } in mean()
106 return a.mean_ == b.mean_ && a.stddev_ == b.stddev_;
114 result_type mean_;
Dpoisson_distribution_test.cc165 explicit PoissonModel(double mean) : mean_(mean) {} in PoissonModel()
167 double mean() const { return mean_; } in mean()
168 double variance() const { return mean_; } in variance()
170 double skew() const { return 1.0 / mean_; } in skew()
171 double kurtosis() const { return 3.0 + 1.0 / mean_; } in kurtosis()
191 ABSL_INTERNAL_LOG(INFO, absl::StrCat("CDF (mean = ", mean_, ")")); in LogCDF()
199 const double mean_; member in __anon8683c0550111::PoissonModel
215 ABSL_ASSERT(mean_ < 201.0); in InitCDF()
/external/openscreen/third_party/abseil/src/absl/random/
Dpoisson_distribution.h63 double mean() const { return mean_; } in mean()
66 return a.mean_ == b.mean_;
76 double mean_; variable
134 : mean_(mean), split_(0) { in param_type()
141 if (mean_ < 10) { in param_type()
144 emu_ = std::exp(-mean_); in param_type()
145 } else if (mean_ <= 50) { in param_type()
147 split_ = 1 + static_cast<int>(mean_ / 10.0); in param_type()
148 emu_ = std::exp(-mean_ / static_cast<double>(split_)); in param_type()
154 lmu_ = std::log(mean_); in param_type()
[all …]
Dgaussian_distribution.h96 : mean_(mean), stddev_(stddev) {} in mean_() function
100 result_type mean() const { return mean_; } in mean()
106 return a.mean_ == b.mean_ && a.stddev_ == b.stddev_;
114 result_type mean_;
Dpoisson_distribution_test.cc165 explicit PoissonModel(double mean) : mean_(mean) {} in PoissonModel()
167 double mean() const { return mean_; } in mean()
168 double variance() const { return mean_; } in variance()
170 double skew() const { return 1.0 / mean_; } in skew()
171 double kurtosis() const { return 3.0 + 1.0 / mean_; } in kurtosis()
191 ABSL_INTERNAL_LOG(INFO, absl::StrCat("CDF (mean = ", mean_, ")")); in LogCDF()
199 const double mean_; member in __anon1c6796a60111::PoissonModel
215 ABSL_ASSERT(mean_ < 201.0); in InitCDF()
/external/tensorflow/tensorflow/core/grappler/costs/
Drobust_stats.cc130 mean_ = median_mad.first; in HuberMAD()
145 double old_mean = mean_; in HuberMAD()
146 mean_ = UpdateHuberMean(sorted_values, mean_, margin); in HuberMAD()
147 if (mean_ == old_mean) break; in HuberMAD()
Drobust_stats.h29 double mean() const { return mean_; } in mean()
36 double mean_; variable
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dcudnn_batchnorm_thunk.cc46 mean_(mean), in CudnnBatchNormForwardInferenceThunk()
60 se::DeviceMemory<float> mean(buffer_allocations.GetDeviceAddress(mean_)); in ExecuteOnStream()
130 mean_(mean), in CudnnBatchNormBackwardThunk()
157 se::DeviceMemory<float>(buffer_allocations.GetDeviceAddress(mean_)), in ExecuteOnStream()
Dcudnn_batchnorm_thunk.h71 BufferAllocation::Slice mean_; variable
126 BufferAllocation::Slice mean_; variable

12