Home
last modified time | relevance | path

Searched refs:mean_value (Results 1 – 20 of 20) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/utility/
Ddelay_estimator_unittest.cc507 int32_t mean_value = 4000; in TEST_F() local
508 int32_t mean_value_before = mean_value; in TEST_F()
509 int32_t new_mean_value = mean_value * 2; in TEST_F()
512 WebRtc_MeanEstimatorFix(new_mean_value, 10, &mean_value); in TEST_F()
513 EXPECT_LT(mean_value_before, mean_value); in TEST_F()
514 EXPECT_GT(new_mean_value, mean_value); in TEST_F()
517 new_mean_value = mean_value / 2; in TEST_F()
518 mean_value_before = mean_value; in TEST_F()
519 WebRtc_MeanEstimatorFix(new_mean_value, 10, &mean_value); in TEST_F()
520 EXPECT_GT(mean_value_before, mean_value); in TEST_F()
[all …]
Ddelay_estimator_wrapper.c45 float* mean_value) { in MeanEstimatorFloat() argument
47 *mean_value += (new_value - *mean_value) * scale; in MeanEstimatorFloat()
Ddelay_estimator.h249 int32_t* mean_value);
Ddelay_estimator.c674 int32_t* mean_value) { in WebRtc_MeanEstimatorFix() argument
675 int32_t diff = new_value - *mean_value; in WebRtc_MeanEstimatorFix()
683 *mean_value += diff; in WebRtc_MeanEstimatorFix()
/external/webrtc/webrtc/common_audio/vad/
Dvad_sp.c166 if (current_median < self->mean_value[channel]) { in WebRtcVad_FindMinimum()
172 tmp32 = (alpha + 1) * self->mean_value[channel]; in WebRtcVad_FindMinimum()
175 self->mean_value[channel] = (int16_t) (tmp32 >> 15); in WebRtcVad_FindMinimum()
177 return self->mean_value[channel]; in WebRtcVad_FindMinimum()
Dvad_core.h45 int16_t mean_value[kNumChannels]; member
Dvad_core.c525 self->mean_value[i] = 1600; in WebRtcVad_InitCore()
/external/tensorflow/tensorflow/core/kernels/
Dquantized_batch_norm_op.cc58 const float mean_value = in ReferenceBatchNorm() local
68 output_value = (((input_value - mean_value) / in ReferenceBatchNorm()
73 output_value = ((input_value - mean_value) / in ReferenceBatchNorm()
123 const float mean_value = in FixedPointBatchNorm() local
137 const float offset_value = (-mean_value * scale_value) + beta_value; in FixedPointBatchNorm()
/external/tensorflow/tensorflow/lite/toco/
Dmodel_flags.proto37 // mean_value and std_value parameters control the interpretation of raw input
41 // real_value = (raw_input_value - mean_value) / std_value
43 // In particular, the defaults (mean_value=0, std_value=1) yield
46 // its raw inputs, in [0, 255] range, may use mean_value=128, std_value=128 to
49 // Note: this matches exactly the meaning of mean_value and std_value in
51 optional float mean_value = 3; field
65 // corresponding quantization parameters are the mean_value, std_value
128 // optional float mean_value = 7;
Dmodel_cmdline_flags.cc93 Flag("mean_value", parsed_flags.mean_value.bind(), in ParseModelFlagsFromCommandLineFlags()
94 parsed_flags.mean_value.default_value(), in ParseModelFlagsFromCommandLineFlags()
226 parsed_model_flags.mean_value.specified() || in ReadModelFlagsFromCommandLineFlags()
254 if (parsed_model_flags.mean_value.specified()) { in ReadModelFlagsFromCommandLineFlags()
257 parsed_model_flags.mean_value.value()); in ReadModelFlagsFromCommandLineFlags()
Dargs.h132 Arg<float> mean_value = Arg<float>(0.f); member
Dtooling_util.cc1543 RESOLVE_MODEL_FLAG(mean_value); in ResolveModelFlags()
1666 const float mean_value = input_array_proto.mean_value(); in ResolveModelFlags() local
1674 input_minmax.min = (qmin - mean_value) / std_value; in ResolveModelFlags()
1675 input_minmax.max = (qmax - mean_value) / std_value; in ResolveModelFlags()
Dtoco_flags.proto62 // parameters used for such input arrays are their mean_value, std_value
/external/tensorflow/tensorflow/python/tools/
Doptimize_for_inference_lib.py263 mean_value = values_from_const(mean_op)
264 if mean_value.shape != (channel_count,):
266 " for node %s" % (str(mean_value.shape), str(
328 offset_value = (-mean_value * scale_value) + beta_value
351 offset_value, mean_value.dtype.type, offset_value.shape)))
/external/tensorflow/tensorflow/lite/g3doc/convert/
Dcmdline_reference.md76 * `real_value = (quantized_input_value - mean_value) / std_dev_value`.
84 including those of the input arrays as specified by `mean_value` and
86 quantized inference code. `mean_value` must be an integer when
119 their `mean_value` and `std_dev_value` parameters.
/external/tensorflow/tensorflow/lite/python/
Dconvert.py358 input_array.mean_value, input_array.std_value = quantized_input_stats[idx]
411 input_array.mean_value, input_array.std_value = kwargs[
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/
Dmixture_test.py260 mean_value, cat_probs_value, dist_means_value = sess.run(
262 self.assertEqual(batch_shape, mean_value.shape)
268 self.assertAllClose(true_mean, mean_value)
282 mean_value, cat_probs_value, dist_means_value = sess.run(
284 self.assertEqual(batch_shape + (4,), mean_value.shape)
294 self.assertAllClose(true_mean, mean_value)
/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Ddequantize.cc69 CHECK_LE(std::abs(new_mean_value - input_array.mean_value()), 0.001); in ClearArrayQuantizationParams()
/external/tensorflow/tensorflow/contrib/quantize/
DREADME.md105 --std_value=127.5 --mean_value=127.5
/external/tensorflow/tensorflow/python/ops/parallel_for/
Dcontrol_flow_ops_test.py114 mean_value = math_ops.reduce_mean(vectorized_value, axis=0)
115 return x_i - mean_value