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/python/tools/
Doptimize_for_inference_lib.py288 mean_value = values_from_const(mean_op)
292 mean_value = mean_value - values_from_const(bias)
293 if mean_value.shape != (channel_count,):
295 " for node %s" % (str(mean_value.shape), str(
355 offset_value = (-mean_value * scale_value) + beta_value
391 offset_value, mean_value.dtype.type, offset_value.shape)))
/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()
229 parsed_model_flags.mean_value.specified() || in ReadModelFlagsFromCommandLineFlags()
257 if (parsed_model_flags.mean_value.specified()) { in ReadModelFlagsFromCommandLineFlags()
260 parsed_model_flags.mean_value.value()); in ReadModelFlagsFromCommandLineFlags()
Dargs.h132 Arg<float> mean_value = Arg<float>(0.f); member
Dtooling_util.cc1559 RESOLVE_MODEL_FLAG(mean_value); in ResolveModelFlags()
1682 const float mean_value = input_array_proto.mean_value(); in ResolveModelFlags() local
1690 input_minmax.min = (qmin - mean_value) / std_value; in ResolveModelFlags()
1691 input_minmax.max = (qmax - mean_value) / std_value; in ResolveModelFlags()
Dtoco_flags.proto63 // parameters used for such input arrays are their mean_value, std_value
/external/tensorflow/tensorflow/lite/g3doc/r1/convert/
Dcmdline_reference.md74 * `real_value = (quantized_input_value - mean_value) / std_dev_value`.
82 including those of the input arrays as specified by `mean_value` and
84 quantized inference code. `mean_value` must be an integer when
117 their `mean_value` and `std_dev_value` parameters.
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/
Dlegacy-fed-input-without-inputs.pbtxt20 …[dist_belief.ImageInputDef.ext] {\n num_rows: 128\n num_cols: 128\n mean_value: 128\n std_valu…
/external/tensorflow/tensorflow/lite/python/
Dconvert.py379 input_array.mean_value, input_array.std_value = quantized_input_stats[
447 input_array.mean_value, input_array.std_value = kwargs[
/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/compiler/mlir/lite/python/
Dgraphdef_to_tfl_flatbuffer.cc208 auto min_max, InputStatsToMinMax(flag.mean_value(), flag.std_value(), in ConvertGraphDefToTFLiteFlatBuffer()
/external/tensorflow/tensorflow/python/ops/parallel_for/
Dcontrol_flow_ops_test.py217 mean_value = math_ops.reduce_mean(vectorized_value, axis=0)
218 return x_i - mean_value