Home
last modified time | relevance | path

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

/external/webrtc/modules/audio_processing/utility/
Ddelay_estimator_unittest.cc505 int32_t mean_value = 4000; in TEST_F() local
506 int32_t mean_value_before = mean_value; in TEST_F()
507 int32_t new_mean_value = mean_value * 2; in TEST_F()
510 WebRtc_MeanEstimatorFix(new_mean_value, 10, &mean_value); in TEST_F()
511 EXPECT_LT(mean_value_before, mean_value); in TEST_F()
512 EXPECT_GT(new_mean_value, mean_value); in TEST_F()
515 new_mean_value = mean_value / 2; in TEST_F()
516 mean_value_before = mean_value; in TEST_F()
517 WebRtc_MeanEstimatorFix(new_mean_value, 10, &mean_value); in TEST_F()
518 EXPECT_GT(mean_value_before, mean_value); in TEST_F()
[all …]
Ddelay_estimator_wrapper.cc46 float* mean_value) { in MeanEstimatorFloat() argument
48 *mean_value += (new_value - *mean_value) * scale; in MeanEstimatorFloat()
Ddelay_estimator.h253 int32_t* mean_value);
Ddelay_estimator.cc696 int32_t* mean_value) { in WebRtc_MeanEstimatorFix() argument
697 int32_t diff = new_value - *mean_value; in WebRtc_MeanEstimatorFix()
705 *mean_value += diff; in WebRtc_MeanEstimatorFix()
/external/webrtc/common_audio/vad/
Dvad_sp.c164 if (current_median < self->mean_value[channel]) { in WebRtcVad_FindMinimum()
170 tmp32 = (alpha + 1) * self->mean_value[channel]; in WebRtcVad_FindMinimum()
173 self->mean_value[channel] = (int16_t) (tmp32 >> 15); in WebRtcVad_FindMinimum()
175 return self->mean_value[channel]; in WebRtcVad_FindMinimum()
Dvad_core.h41 int16_t mean_value[kNumChannels]; member
Dvad_core.c534 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.proto44 // mean_value and std_value parameters control the interpretation of raw input
48 // real_value = (raw_input_value - mean_value) / std_value
50 // In particular, the defaults (mean_value=0, std_value=1) yield
53 // its raw inputs, in [0, 255] range, may use mean_value=128, std_value=128 to
56 // Note: this matches exactly the meaning of mean_value and std_value in
58 optional float mean_value = 3; field
72 // corresponding quantization parameters are the mean_value, std_value
135 // 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.cc1562 RESOLVE_MODEL_FLAG(mean_value); in ResolveModelFlags()
1685 const float mean_value = input_array_proto.mean_value(); in ResolveModelFlags() local
1693 input_minmax.min = (qmin - mean_value) / std_value; in ResolveModelFlags()
1694 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/tflite-support/tensorflow_lite_support/cc/task/vision/core/
Dbase_vision_task_api.h204 float mean_value = normalization_options.mean_values[0]; in Preprocess() local
209 inv_std_value * (static_cast<float>(*input_data) - mean_value); in Preprocess()
/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/g3doc/r1/convert/
Dcmdline_reference.md77 * `real_value = (quantized_value - mean_value) / std_dev_value`.
85 arrays as specified by `mean_value` and `std_dev_value`, determine the
87 `mean_value` must be an integer when performing quantized inference.
122 their `mean_value` and `std_dev_value` parameters.
/external/tensorflow/tensorflow/lite/python/
Dconvert.py501 input_array.mean_value, input_array.std_value = quantized_input_stats[idx]
583 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/transforms/
Dprepare_tf.cc1010 ::mlir::Value mean_value = (*mean.begin()); in matchAndRewrite()
1105 if (!is_last_dim_compatible(mean_value, last_dim) || in matchAndRewrite()
1206 mean_value = (*mul_op_1.getODSResults(0).begin()); in matchAndRewrite()
1254 /*x=*/mean_value, in matchAndRewrite()
/external/tensorflow/tensorflow/compiler/mlir/lite/python/
Dtf_tfl_flatbuffer_helpers.cc233 auto min_max, InputStatsToMinMax(flag.mean_value(), in PopulateQuantizationSpecs()
/external/tensorflow/tensorflow/python/ops/parallel_for/
Dcontrol_flow_ops_test.py245 mean_value = math_ops.reduce_mean(vectorized_value, axis=0)
246 return x_i - mean_value