Home
last modified time | relevance | path

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

123

/external/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/webrtc/webrtc/modules/audio_processing/
Drms_level.cc49 float rms = sum_square_ / (sample_count_ * kMaxSquaredLevel); in RMS() local
51 rms = 10 * log10(rms); in RMS()
52 assert(rms <= 0); in RMS()
53 if (rms < -kMinLevel) in RMS()
54 rms = -kMinLevel; in RMS()
56 rms = -rms; in RMS()
58 return static_cast<int>(rms + 0.5); in RMS()
/external/tensorflow/tensorflow/contrib/optimizer_v2/
Drmsprop.py119 rms = state.get_slot(var, "rms")
126 rms,
139 rms,
149 rms = state.get_slot(var, "rms")
156 rms.handle,
167 rms.handle,
177 rms = state.get_slot(var, "rms")
184 rms,
196 rms,
207 rms = state.get_slot(var, "rms")
[all …]
/external/tensorflow/tensorflow/python/training/
Drmsprop.py141 rms = self.get_slot(var, "rms")
148 rms,
159 rms,
169 rms = self.get_slot(var, "rms")
176 rms.handle,
187 rms.handle,
197 rms = self.get_slot(var, "rms")
204 rms,
216 rms,
227 rms = self.get_slot(var, "rms")
[all …]
/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Drmsprop.py136 rms = self.get_slot(var, "rms")
147 rms.handle,
158 rms.handle,
167 rms_t = rho * rms + (1. - rho) * math_ops.square(grad)
168 rms_t = state_ops.assign(rms, rms_t, use_locking=self._use_locking)
181 rms = self.get_slot(var, "rms")
192 rms.handle,
204 rms.handle,
215 rms_t = state_ops.assign(rms, rms * rho, use_locking=self._use_locking)
217 rms_t = self._resource_scatter_add(rms, indices, rms_scaled_g_values)
/external/webrtc/webrtc/modules/audio_processing/agc/
Dhistogram.cc89 void Histogram::Update(double rms, double activity_probaility) { in Update() argument
95 int hist_index = GetBinIndex(rms); in Update()
191 int Histogram::GetBinIndex(double rms) { in GetBinIndex() argument
193 if (rms <= kHistBinCenters[0]) { in GetBinIndex()
195 } else if (rms >= kHistBinCenters[kHistSize - 1]) { in GetBinIndex()
200 double rms_log = log(rms); in GetBinIndex()
206 if (rms > b) { in GetBinIndex()
Dagc.cc54 const std::vector<double>& rms = vad_.chunkwise_rms(); in Process() local
57 RTC_DCHECK_EQ(rms.size(), probabilities.size()); in Process()
58 for (size_t i = 0; i < rms.size(); ++i) { in Process()
59 histogram_->Update(rms[i], probabilities[i]); in Process()
Dutility.cc23 double Linear2Loudness(double rms) { in Linear2Loudness() argument
24 if (rms == 0) in Linear2Loudness()
26 return kLinear2LoudnessScale * log(rms); in Linear2Loudness()
Dhistogram_unittest.cc25 double rms; member
65 if (io.rms < 0) { in RunTest()
75 hist_->Update(io.rms, io.activity_probability); in RunTest()
Dhistogram.h34 void Update(double rms, double activity_probability);
54 int GetBinIndex(double rms);
/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/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.cc62 std::copy(features_.rms, features_.rms + chunkwise_rms_.size(), in ProcessChunk()
Dvoice_activity_detector_unittest.cc44 std::vector<double> rms = vad.chunkwise_rms(); in TEST() local
47 EXPECT_EQ(rms.size(), 0u); in TEST()
/external/python/cpython3/Lib/test/
Dtest_audioop.py106 self.assertEqual(audioop.rms(b'', w), 0)
107 self.assertEqual(audioop.rms(bytearray(), w), 0)
108 self.assertEqual(audioop.rms(memoryview(b''), w), 0)
110 self.assertEqual(audioop.rms(p(*range(100)), w), 57)
111 self.assertAlmostEqual(audioop.rms(p(maxvalues[w]) * 5, w),
113 self.assertAlmostEqual(audioop.rms(p(minvalues[w]) * 5, w),
115 self.assertEqual(audioop.rms(datas[1], 1), 77)
116 self.assertEqual(audioop.rms(datas[2], 2), 20001)
117 self.assertEqual(audioop.rms(datas[3], 3), 5120523)
118 self.assertEqual(audioop.rms(datas[4], 4), 1310854152)
[all …]
/external/python/cpython2/Lib/test/
Dtest_audioop.py100 self.assertEqual(audioop.rms(b'', w), 0)
102 self.assertEqual(audioop.rms(p(*range(100)), w), 57)
103 self.assertAlmostEqual(audioop.rms(p(maxvalues[w]) * 5, w),
105 self.assertAlmostEqual(audioop.rms(p(minvalues[w]) * 5, w),
107 self.assertEqual(audioop.rms(datas[1], 1), 77)
108 self.assertEqual(audioop.rms(datas[2], 2), 20001)
109 self.assertEqual(audioop.rms(datas[4], 4), 1310854152)
399 self.assertRaises(audioop.error, audioop.rms, data, size)
/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()
/external/autotest/client/site_tests/accessibility_ChromeVoxSound/
Daccessibility_ChromeVoxSound.py45 rms = self._rms_of_next_audio_chunk()
46 if rms > 0:
/external/autotest/client/site_tests/firmware_TouchMTB/tests/logs/link/20130806_221321-fw_1.0.AA-robot/
Dtouch_firmware_report-link-fw_1.0.AA-complete-20140116_103340.log82 S'rms error in x (mm)'
298 S'rms error in x (mm)'
496 S'rms error in x (mm)'
694 S'rms error in x (mm)'
895 S'rms error in x (mm)'
1093 S'rms error in x (mm)'
1291 S'rms error in x (mm)'
1492 S'rms error in x (mm)'
1690 S'rms error in x (mm)'
1888 S'rms error in x (mm)'
[all …]
/external/autotest/client/site_tests/desktopui_MediaAudioFeedback/
Ddesktopui_MediaAudioFeedback.py70 rms = audio_helper.get_rms(reduced_file.name)[0]
72 self._rms_values['%s_rms_value' % media_file.replace('.', '_')] = rms
/external/autotest/client/site_tests/audio_SeekAudioFeedback/
Daudio_SeekAudioFeedback.py73 rms = audio_helper.get_rms(reduced_file.name)[0]
75 self._rms_values['%s_rms_value' % test_file.replace('.', '_')]=rms
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DReportAPI.java153 ArrayList<APIInfo> rms = new ArrayList<APIInfo>(); in ReportAPI() local
166 rms.add(r); r = null; in ReportAPI()
172 if (ams.size() == 1 && rms.size() == 1) { in ReportAPI()
173 changed.add(new DeltaInfo(ams.get(0), rms.get(0))); in ReportAPI()
179 rms.clear(); in ReportAPI()

123