Home
last modified time | relevance | path

Searched refs:mean_val (Results 1 – 9 of 9) sorted by relevance

/external/webrtc/modules/audio_processing/vad/
Dvad_circular_buffer_unittest.cc27 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/
Dloudness_histogram.cc216 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/
Dfused_batchnorm_test.py140 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/
Dnormalization.py120 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)
Dnormalization_v1.py110 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/
Dtran_det.cpp475 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/
Dnn_fused_batchnorm_test.py72 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/
Dstudent_t_test.py415 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/
Dlegalize_tf.cc1289 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()