Home
last modified time | relevance | path

Searched refs:rms (Results 1 – 25 of 75) sorted by relevance

123

/external/google-benchmark/src/
Dcomplexity.cc106 double rms = 0.0; in MinimalLeastSq() local
109 rms += pow((time[i] - fit), 2); in MinimalLeastSq()
114 result.rms = sqrt(rms / n.size()) / mean; in MinimalLeastSq()
145 if (current_fit.rms < best_fit.rms) { in MinimalLeastSq()
216 Run rms; in ComputeBigO() local
217 rms.run_name = run_name; in ComputeBigO()
218 rms.run_type = BenchmarkReporter::Run::RT_Aggregate; in ComputeBigO()
219 rms.aggregate_name = "RMS"; in ComputeBigO()
220 rms.report_label = big_o.report_label; in ComputeBigO()
221 rms.iterations = 0; in ComputeBigO()
[all …]
Dcomplexity.h43 LeastSq() : coef(0.0), rms(0.0), complexity(oNone) {} in LeastSq()
46 double rms; member
/external/llvm-project/libcxx/utils/google-benchmark/src/
Dcomplexity.cc103 double rms = 0.0; in MinimalLeastSq() local
106 rms += pow((time[i] - fit), 2); in MinimalLeastSq()
111 result.rms = sqrt(rms / n.size()) / mean; in MinimalLeastSq()
142 if (current_fit.rms < best_fit.rms) { in MinimalLeastSq()
208 Run rms; in ComputeBigO() local
209 rms.run_name = run_name; in ComputeBigO()
211 rms.run_type = BenchmarkReporter::Run::RT_Aggregate; in ComputeBigO()
212 rms.aggregate_name = "RMS"; in ComputeBigO()
213 rms.report_label = big_o.report_label; in ComputeBigO()
214 rms.iterations = 0; in ComputeBigO()
[all …]
Dcomplexity.h43 LeastSq() : coef(0.0), rms(0.0), complexity(oNone) {} in LeastSq()
46 double rms; member
/external/libcxx/utils/google-benchmark/src/
Dcomplexity.cc103 double rms = 0.0; in MinimalLeastSq() local
106 rms += pow((time[i] - fit), 2); in MinimalLeastSq()
111 result.rms = sqrt(rms / n.size()) / mean; in MinimalLeastSq()
142 if (current_fit.rms < best_fit.rms) { in MinimalLeastSq()
208 Run rms; in ComputeBigO() local
209 rms.run_name = run_name; in ComputeBigO()
211 rms.run_type = BenchmarkReporter::Run::RT_Aggregate; in ComputeBigO()
212 rms.aggregate_name = "RMS"; in ComputeBigO()
213 rms.report_label = big_o.report_label; in ComputeBigO()
214 rms.iterations = 0; in ComputeBigO()
[all …]
Dcomplexity.h43 LeastSq() : coef(0.0), rms(0.0), complexity(oNone) {} in LeastSq()
46 double rms; member
/external/llvm-project/llvm/utils/benchmark/src/
Dcomplexity.cc100 double rms = 0.0; in MinimalLeastSq() local
103 rms += pow((time[i] - fit), 2); in MinimalLeastSq()
108 result.rms = sqrt(rms / n.size()) / mean; in MinimalLeastSq()
139 if (current_fit.rms < best_fit.rms) { in MinimalLeastSq()
202 Run rms; in ComputeBigO() local
204 rms.benchmark_name = benchmark_name + "_RMS"; in ComputeBigO()
205 rms.report_label = big_o.report_label; in ComputeBigO()
206 rms.iterations = 0; in ComputeBigO()
207 rms.real_accumulated_time = result_real.rms / multiplier; in ComputeBigO()
208 rms.cpu_accumulated_time = result_cpu.rms / multiplier; in ComputeBigO()
[all …]
Dcomplexity.h43 LeastSq() : coef(0.0), rms(0.0), complexity(oNone) {} in LeastSq()
46 double rms; member
/external/webrtc/modules/audio_processing/agc/
Dloudness_histogram.cc90 void LoudnessHistogram::Update(double rms, double activity_probaility) { in Update() argument
96 int hist_index = GetBinIndex(rms); in Update()
192 int LoudnessHistogram::GetBinIndex(double rms) { in GetBinIndex() argument
194 if (rms <= kHistBinCenters[0]) { in GetBinIndex()
196 } else if (rms >= kHistBinCenters[kHistSize - 1]) { in GetBinIndex()
201 double rms_log = log(rms); in GetBinIndex()
207 if (rms > b) { in GetBinIndex()
Dagc.cc40 const std::vector<double>& rms = vad_.chunkwise_rms(); in Process() local
43 RTC_DCHECK_EQ(rms.size(), probabilities.size()); in Process()
44 for (size_t i = 0; i < rms.size(); ++i) { in Process()
45 histogram_->Update(rms[i], probabilities[i]); in Process()
Dutility.cc25 double Linear2Loudness(double rms) { in Linear2Loudness() argument
26 if (rms == 0) in Linear2Loudness()
28 return kLinear2LoudnessScale * log(rms); in Linear2Loudness()
Dloudness_histogram_unittest.cc28 double rms; member
68 if (io.rms < 0) { in RunTest()
78 hist_->Update(io.rms, io.activity_probability); in RunTest()
Dloudness_histogram.h33 void Update(double rms, double activity_probability);
53 int GetBinIndex(double rms);
/external/webrtc/modules/audio_processing/
Drms_level.cc39 const float rms = 10.f * std::log10(mean_square_norm); in ComputeRms() local
40 RTC_DCHECK_LE(rms, 0.f); in ComputeRms()
41 RTC_DCHECK_GT(rms, -RmsLevel::kMinLevelDb); in ComputeRms()
43 return static_cast<int>(-rms + 0.5f); in ComputeRms()
104 int rms = (sample_count_ == 0) ? RmsLevel::kMinLevelDb in Average() local
107 return rms; in Average()
Dlevel_estimator_unittest.cc51 int rms = level_estimator.RMS(); in RunBitexactnessTest() local
54 EXPECT_EQ(rms_reference, rms); in RunBitexactnessTest()
/external/tensorflow/tensorflow/python/training/
Drmsprop.py145 rms = self.get_slot(var, "rms")
152 rms,
163 rms,
173 rms = self.get_slot(var, "rms")
180 rms.handle,
191 rms.handle,
201 rms = self.get_slot(var, "rms")
208 rms,
220 rms,
231 rms = self.get_slot(var, "rms")
[all …]
/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Drmsprop.py181 rms = self.get_slot(var, "rms")
189 ms=rms.handle,
200 ms=rms.handle,
209 rms_t = (coefficients["rho"] * rms +
211 rms_t = state_ops.assign(rms, rms_t, use_locking=self._use_locking)
227 rms = self.get_slot(var, "rms")
235 ms=rms.handle,
247 ms=rms.handle,
258 rms_t = state_ops.assign(rms, rms * coefficients["rho"],
261 rms_t = self._resource_scatter_add(rms, indices, rms_scaled_g_values)
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DCorrelation.java78 double rms = 0; in computeCorrelation() local
83 rms += mDataAutocorrelated[i] * mDataAutocorrelated[i]; in computeCorrelation()
90 rms = Math.sqrt(rms / mDataAutocorrelated.length); in computeCorrelation()
94 log(String.format(" average : %.3f rms: %.3f", average, rms)); in computeCorrelation()
97 mRms = rms; in computeCorrelation()
103 double raw = (rms - average) / (factor * average); in computeCorrelation()
/external/webrtc/modules/audio_processing/vad/
Dvad_audio_proc.cc102 Rms(features->rms, kMaxNumFrames); in ExtractFeatures()
104 if (features->rms[i] < kSilenceRms) { in ExtractFeatures()
264 void VadAudioProc::Rms(double* rms, size_t length_rms) { in Rms() argument
268 rms[i] = 0; in Rms()
270 rms[i] += audio_buffer_[offset] * audio_buffer_[offset]; in Rms()
271 rms[i] = sqrt(rms[i] / kNumSubframeSamples); in Rms()
Dvoice_activity_detector.cc61 std::copy(features_.rms, features_.rms + chunkwise_rms_.size(), in ProcessChunk()
/external/webrtc/modules/audio_processing/agc2/
Dvad_with_level.cc33 float rms = 0; in ProcessForRms() local
35 rms += x * x; in ProcessForRms()
37 return std::sqrt(rms / frame.samples_per_channel()); in ProcessForRms()
Dvad_with_level.h23 constexpr LevelAndProbability(float prob, float rms, float peak) in LevelAndProbability()
25 speech_rms_dbfs(rms), in LevelAndProbability()
Dnoise_level_estimator.cc41 const float rms = std::sqrt(signal_energy / num_samples); in EnergyToDbfs() local
42 return FloatS16ToDbfs(rms); in EnergyToDbfs()
/external/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/
Dapm_vad.cc73 auto rms = vad.chunkwise_rms(); in main() local
74 RTC_CHECK_EQ(probs.size(), rms.size()); in main()
80 for (const auto& r : rms) { in main()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/perf/
DPerfOutputWriter.java49 final double rms = (double) reference / 1000000; in writeTimeResult() local
50 writeResult(description, dms, rms, "%.2f", "ms"); in writeTimeResult()

123