Searched refs:mean_val (Results 1 – 9 of 9) sorted by relevance
/external/webrtc/modules/audio_processing/vad/ |
D | vad_circular_buffer_unittest.cc | 27 double mean_val; in InsertSequentially() local 31 mean_val = circular_buffer->Mean(); in InsertSequentially() 32 EXPECT_EQ((n + 1.0) / 2., mean_val); in InsertSequentially() 50 double mean_val; in TEST() local 53 mean_val = circular_buffer->Mean(); in TEST() 54 EXPECT_DOUBLE_EQ(0.0, mean_val); in TEST() 62 mean_val = circular_buffer->Mean(); in TEST() 63 EXPECT_DOUBLE_EQ((kShortBuffSize + 1.) / 2., mean_val); in TEST() 69 mean_val = circular_buffer->Mean(); in TEST() 70 EXPECT_DOUBLE_EQ(0, mean_val); in TEST() [all …]
|
/external/webrtc/modules/audio_processing/agc/ |
D | loudness_histogram.cc | 216 double mean_val = 0; in CurrentRms() local 221 mean_val += p * kHistBinCenters[n]; in CurrentRms() 224 mean_val = kHistBinCenters[0]; in CurrentRms() 226 return mean_val; in CurrentRms()
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | fused_batchnorm_test.py | 140 mean_val = np.random.random_sample(scale_shape).astype(np.float32) 147 x_val, scale_val, offset_val, mean_val, var_val_corr, epsilon, 191 old_mean: mean_val, 228 mean_val = np.random.random_sample(scale_shape).astype(np.float32) 239 reserve_space_1_val = mean_val 247 x_val, grad_val, scale_val, mean_val, var_val, epsilon, data_format_src) 298 mean_val = np.random.random_sample(scale_shape).astype(np.float32) 333 mean: mean_val, 341 mean: mean_val,
|
/external/tensorflow/tensorflow/python/keras/layers/preprocessing/ |
D | normalization.py | 120 self.mean_val = mean 171 if (self.mean_val is not None and self.variance_val is not None): 172 mean_val = self.mean_val * np.ones(mean_and_var_shape) 174 self.mean.assign(mean_val)
|
D | normalization_v1.py | 110 self.mean_val = mean 161 if (self.mean_val is not None and self.variance_val is not None): 162 mean_val = self.mean_val * np.ones(mean_and_var_shape) 164 self.set_weights([mean_val, variance_val])
|
/external/aac/libSBRenc/src/ |
D | tran_det.cpp | 475 FIXP_DBL mean_val, std_val, temp; in calculateThresholds() local 508 mean_val = ((accu0 << 1) >> scaleFactor0) + in calculateThresholds() 511 0, CountLeadingBits(mean_val) - in calculateThresholds() 519 temp = ((FIXP_DBL)mean_val - ((FIXP_DBL)Energies[j][i] >> scaleFactor0)) in calculateThresholds() 525 temp = ((FIXP_DBL)mean_val - ((FIXP_DBL)Energies[j][i] >> scaleFactor1)) in calculateThresholds()
|
/external/tensorflow/tensorflow/python/ops/ |
D | nn_fused_batchnorm_test.py | 72 mean_val = np.random.random_sample(scale_shape).astype(scale_dtype) 79 mean = constant_op.constant(mean_val, name='mean') 175 y_val, mean_val, var_val = self.evaluate([y, mean, var]) 182 self.assertAllClose(mean_ref, mean_val, atol=1e-3)
|
/external/tensorflow/tensorflow/python/kernel_tests/distributions/ |
D | student_t_test.py | 415 sample_vals, pdf_vals, mean_val, mean_pdf_val = self.evaluate( 421 self.assertNear(np.pi, mean_val, err=1e-6)
|
/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/ |
D | legalize_tf.cc | 1289 Value mean_val, variance_val; in matchAndRewrite() local 1292 mean_val = getTosaConstTensorSingleF32(rewriter, tf_batchnorm_op, 0); in matchAndRewrite() 1294 mean_val = tf_batchnorm_op.mean(); in matchAndRewrite() 1312 mean_val); in matchAndRewrite()
|