Searched refs:num_samples_ (Results 1 – 11 of 11) sorted by relevance
/external/webrtc/rtc_base/numerics/ |
D | sample_counter.cc | 30 ++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 …]
|
D | sample_counter.h | 38 int64_t num_samples_ = 0; variable
|
/external/webrtc/rtc_base/ |
D | rate_statistics.cc | 29 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()
|
D | rate_statistics.h | 94 int num_samples_; variable
|
/external/tensorflow/tensorflow/core/lib/monitoring/ |
D | percentile_sampler.cc | 37 if (TF_PREDICT_FALSE(num_samples_ < samples_.size())) { in Add() 38 ++num_samples_; in Add() 87 if (num_samples_ == samples_.size()) { in GetSamples()
|
D | percentile_sampler.h | 59 num_samples_(0), in PercentileSamplerCell() 84 size_t num_samples_ TF_GUARDED_BY(mu_);
|
/external/webrtc/modules/audio_processing/test/conversational_speech/ |
D | mock_wavreader.cc | 24 num_samples_(num_samples) { in MockWavReader() 27 ON_CALL(*this, NumSamples()).WillByDefault(Return(num_samples_)); in MockWavReader()
|
D | mock_wavreader.h | 41 const size_t num_samples_; variable
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | multinomial_test.cc | 60 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/ |
D | metric_test.cc | 145 num_samples_.Increment(); in ReadAngularVelocity() 158 PW_METRIC(metrics_, num_samples_, "num_samples", 1u);
|
/external/tensorflow/tensorflow/core/kernels/ |
D | word2vec_kernels.cc | 247 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
|