Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/kernels/internal/optimized/integer_ops/
Dmean.h60 int32x4x4_t temp_sum; in MeanImpl() local
61 temp_sum.val[0] = vdupq_n_s32(0); in MeanImpl()
62 temp_sum.val[1] = vdupq_n_s32(0); in MeanImpl()
63 temp_sum.val[2] = vdupq_n_s32(0); in MeanImpl()
64 temp_sum.val[3] = vdupq_n_s32(0); in MeanImpl()
85 temp_sum.val[0] = vaddq_s32(temp_sum.val[0], input_low_low); in MeanImpl()
86 temp_sum.val[1] = vaddq_s32(temp_sum.val[1], input_high_low); in MeanImpl()
87 temp_sum.val[2] = vaddq_s32(temp_sum.val[2], input_low_high); in MeanImpl()
88 temp_sum.val[3] = vaddq_s32(temp_sum.val[3], input_high_high); in MeanImpl()
92 temp_sum = in MeanImpl()
[all …]
/external/tensorflow/tensorflow/lite/kernels/
Dreduce.cc91 TfLiteTensor* temp_sum) { in ResizeTempSum() argument
94 return context->ResizeTensor(context, temp_sum, size); in ResizeTempSum()
191 TfLiteTensor* temp_sum; in InitializeTemporaries() local
193 GetTemporarySafe(context, node, /*index=*/2, &temp_sum)); in InitializeTemporaries()
196 temp_sum->type = kTfLiteFloat32; in InitializeTemporaries()
199 temp_sum->type = kTfLiteInt64; in InitializeTemporaries()
202 temp_sum->type = kTfLiteInt64; in InitializeTemporaries()
207 temp_sum->type = kTfLiteInt32; in InitializeTemporaries()
210 temp_sum->type = kTfLiteBool; in InitializeTemporaries()
277 TfLiteTensor* temp_sum; in PrepareMeanOrSum() local
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dreduce.h166 int* temp_index, int* resolved_axis, U* temp_sum) { in Mean() argument
180 temp_sum[idx] = U(); in Mean()
192 temp_index, temp_sum)) { in Mean()
210 static_cast<T>(temp_sum[idx] / static_cast<U>(num_elements_in_axis)); in Mean()
330 int* temp_index, int* resolved_axis, U* temp_sum, in QuantizedMeanOrSum() argument
353 temp_sum[idx] = U(); in QuantizedMeanOrSum()
365 temp_index, temp_sum)) { in QuantizedMeanOrSum()
387 static_cast<U>(TfLiteRound(temp_sum[idx] * scale + bias)) + in QuantizedMeanOrSum()
394 float float_mean = static_cast<float>(temp_sum[idx]) / in QuantizedMeanOrSum()
/external/webrtc/modules/audio_coding/neteq/
Dexpand.cc723 int32_t temp_sum = kCoefficients[0] * 16384; in AnalyzeSignal() local
724 temp_sum += kCoefficients[1] * x1; in AnalyzeSignal()
725 temp_sum += kCoefficients[2] * x2; in AnalyzeSignal()
726 temp_sum += kCoefficients[3] * x3; in AnalyzeSignal()
728 static_cast<int16_t>(std::min(temp_sum / 4096, 16384)); in AnalyzeSignal()
/external/tensorflow/tensorflow/lite/micro/kernels/ceva/
Dceva_tflm_lib.h555 float* temp_sum);
556 void CEVA_TFLM_Mean_Float32_loop(float* temp_sum, float* output_data,
567 int32_t* temp_sum);
568 void CEVA_TFLM_Mean_Int8_loop(int32_t* temp_sum, int8_t* output_data,
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Doptimized_ops.h1006 int32x4x4_t temp_sum; in MeanImpl() local
1007 temp_sum.val[0] = vdupq_n_s32(0); in MeanImpl()
1008 temp_sum.val[1] = vdupq_n_s32(0); in MeanImpl()
1009 temp_sum.val[2] = vdupq_n_s32(0); in MeanImpl()
1010 temp_sum.val[3] = vdupq_n_s32(0); in MeanImpl()
1031 temp_sum.val[0] = vaddq_s32(temp_sum.val[0], input_low_low); in MeanImpl()
1032 temp_sum.val[1] = vaddq_s32(temp_sum.val[1], input_high_low); in MeanImpl()
1033 temp_sum.val[2] = vaddq_s32(temp_sum.val[2], input_low_high); in MeanImpl()
1034 temp_sum.val[3] = vaddq_s32(temp_sum.val[3], input_high_high); in MeanImpl()
1038 temp_sum = in MeanImpl()
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/common/tasks/
Dconv_metal.cc483 std::string temp_sum = f_val + " * " + s_val + "." + channels[ch]; in GenerateConvolution() local
485 temp_sum = "float4(" + temp_sum + ")"; in GenerateConvolution()
487 c += " " + r_val + " += " + temp_sum + ";\n"; in GenerateConvolution()