Home
last modified time | relevance | path

Searched refs:temp_sum (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/
Dreduce.cc85 TfLiteTensor* temp_sum) { in ResizeTempSum() argument
88 return context->ResizeTensor(context, temp_sum, size); in ResizeTempSum()
181 TfLiteTensor* temp_sum = GetTemporary(context, node, /*index=*/2); in InitializeTemporaries() local
184 temp_sum->type = kTfLiteFloat32; in InitializeTemporaries()
187 temp_sum->type = kTfLiteInt64; in InitializeTemporaries()
190 temp_sum->type = kTfLiteInt64; in InitializeTemporaries()
193 temp_sum->type = kTfLiteInt32; in InitializeTemporaries()
196 temp_sum->type = kTfLiteInt32; in InitializeTemporaries()
199 temp_sum->type = kTfLiteBool; in InitializeTemporaries()
249 TfLiteTensor* temp_sum = GetTemporary(context, node, /*index=*/2); in PrepareMeanOrSum() local
[all …]
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dexpand.cc702 int32_t temp_sum = kCoefficients[0] << 14; in AnalyzeSignal() local
703 temp_sum += kCoefficients[1] * x1; in AnalyzeSignal()
704 temp_sum += kCoefficients[2] * x2; in AnalyzeSignal()
705 temp_sum += kCoefficients[3] * x3; in AnalyzeSignal()
707 static_cast<int16_t>(std::min(temp_sum / 4096, 16384)); in AnalyzeSignal()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dreference_ops.h3553 int* temp_index, int* resolved_axis, U* temp_sum) { in Mean() argument
3567 temp_sum[idx] = U(); in Mean()
3579 temp_index, temp_sum)) { in Mean()
3597 static_cast<T>(temp_sum[idx] / static_cast<U>(num_elements_in_axis)); in Mean()
3717 int* temp_index, int* resolved_axis, U* temp_sum, in QuantizedMeanOrSum() argument
3733 temp_sum[idx] = U(); in QuantizedMeanOrSum()
3745 temp_index, temp_sum)) { in QuantizedMeanOrSum()
3766 const U value = static_cast<U>(round(temp_sum[idx] * scale + bias)) + in QuantizedMeanOrSum()
3773 float float_mean = static_cast<float>(temp_sum[idx]) / in QuantizedMeanOrSum()