Home
last modified time | relevance | path

Searched refs:num_samples_ (Results 1 – 11 of 11) sorted by relevance

/external/webrtc/rtc_base/numerics/
Dsample_counter.cc30 ++num_samples_; in Add()
43 RTC_DCHECK_LE(other.num_samples_, in Add()
44 std::numeric_limits<int64_t>::max() - num_samples_); in Add()
45 num_samples_ += other.num_samples_; in Add()
52 if (num_samples_ < min_required_samples) in Avg()
54 return rtc::dchecked_cast<int>(sum_ / num_samples_); in Avg()
63 if (num_samples_ < min_required_samples) in Sum()
69 return num_samples_; in NumSamples()
82 if (num_samples_ < min_required_samples) in Variance()
85 int64_t mean = sum_ / num_samples_; in Variance()
[all …]
Dsample_counter.h38 int64_t num_samples_ = 0; variable
/external/webrtc/rtc_base/
Drate_statistics.cc29 num_samples_(0), in RateStatistics()
39 num_samples_(other.num_samples_), in RateStatistics()
51 num_samples_ = 0; in Reset()
84 ++num_samples_; in Update()
108 if (num_samples_ == 0 || active_window_size <= 1 || in Rate()
109 (num_samples_ <= 1 && in Rate()
133 RTC_DCHECK_GE(num_samples_, oldest_bucket.num_samples); in EraseOld()
135 num_samples_ -= oldest_bucket.num_samples; in EraseOld()
Drate_statistics.h94 int num_samples_; variable
/external/tensorflow/tensorflow/core/lib/monitoring/
Dpercentile_sampler.cc37 if (TF_PREDICT_FALSE(num_samples_ < samples_.size())) { in Add()
38 ++num_samples_; in Add()
87 if (num_samples_ == samples_.size()) { in GetSamples()
Dpercentile_sampler.h59 num_samples_(0), in PercentileSamplerCell()
84 size_t num_samples_ TF_GUARDED_BY(mu_);
/external/webrtc/modules/audio_processing/test/conversational_speech/
Dmock_wavreader.cc24 num_samples_(num_samples) { in MockWavReader()
27 ON_CALL(*this, NumSamples()).WillByDefault(Return(num_samples_)); in MockWavReader()
Dmock_wavreader.h41 const size_t num_samples_; variable
/external/tensorflow/tensorflow/lite/kernels/
Dmultinomial_test.cc60 num_samples_ = AddConstInput(tflite::TensorType_INT32, {num_samples}, {}); in MultinomialOpModel()
63 BuildInterpreter({GetShape(logits_), GetShape(num_samples_)}); in MultinomialOpModel()
67 int num_samples_; member in tflite::__anon5b866f7a0111::MultinomialOpModel
71 int num_samples() { return num_samples_; } in num_samples()
/external/pigweed/pw_metric/
Dmetric_test.cc145 num_samples_.Increment(); in ReadAngularVelocity()
158 PW_METRIC(metrics_, num_samples_, "num_samples", 1u);
/external/tensorflow/tensorflow/core/kernels/
Dword2vec_kernels.cc247 OP_REQUIRES_OK(ctx, ctx->GetAttr("num_negative_samples", &num_samples_)); in NegTrainOp()
303 auto rnd = base_.ReserveSamples32(batch_size * num_samples_ * 8); in Compute()
333 for (int j = 0; j < num_samples_; ++j) { in Compute()
349 int32 num_samples_ = 0; member in tensorflow::NegTrainOp