Home
last modified time | relevance | path

Searched refs:input2_val (Results 1 – 11 of 11) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Ddiv.h40 const int32 input2_val = params.input2_offset + input2_data[i]; in DivElementwise() local
41 TFLITE_DCHECK_NE(input2_val, 0); in DivElementwise()
44 (input2_val > 0) ? GetReciprocal(input2_val, 31, &recip_shift) in DivElementwise()
45 : -GetReciprocal(-input2_val, 31, &recip_shift); in DivElementwise()
103 const int32 input2_val = in BroadcastDivSlow() local
105 TFLITE_DCHECK_NE(input2_val, 0); in BroadcastDivSlow()
108 (input2_val > 0) ? GetReciprocal(input2_val, 31, &recip_shift) in BroadcastDivSlow()
109 : -GetReciprocal(-input2_val, 31, &recip_shift); in BroadcastDivSlow()
Dmul.h31 const int32_t input2_val = params.input2_offset + input2_data[i]; in MulElementwise() local
34 MultiplyByQuantizedMultiplier(input1_val * input2_val, in MulElementwise()
95 const int32_t input2_val = in BroadcastMul4DSlow() local
100 MultiplyByQuantizedMultiplier(input1_val * input2_val, in BroadcastMul4DSlow()
Dsub.h141 const int32_t input2_val = in BroadcastSubSlow() local
144 const int32_t shifted_input2_val = input2_val * (1 << params.left_shift); in BroadcastSubSlow()
235 const int32_t input2_val = in BroadcastSubSlow() local
238 const int32_t shifted_input2_val = input2_val * (1 << params.left_shift); in BroadcastSubSlow()
364 const int32_t input2_val = input2_data[SubscriptToIndex(desc2, indexes)]; in BroadcastSub16POTSlow() local
368 gemmlowp::RoundingDivideByPOT(input2_val, -params.input2_shift); in BroadcastSub16POTSlow()
391 const int32_t input2_val = params.input2_offset + input2_data[i]; in SubElementwise() local
393 const int32_t shifted_input2_val = input2_val * (1 << params.left_shift); in SubElementwise()
425 const int32_t input2_val = params.input2_offset + input2_data[i]; in SubElementwise() local
427 const int32_t shifted_input2_val = input2_val * (1 << params.left_shift); in SubElementwise()
Dadd.h69 const int32_t input2_val = params.input2_offset + input2_data[i]; in AddElementwise() local
71 const int32_t shifted_input2_val = input2_val * (1 << params.left_shift); in AddElementwise()
107 const int32_t input2_val = params.input2_offset + input2_data[i]; in AddScalarBroadcast() local
108 const int32_t shifted_input2_val = input2_val * (1 << params.left_shift); in AddScalarBroadcast()
319 const int32_t input2_val = in BroadcastAdd4DSlow() local
325 input2_val * (1 << params.left_shift); in BroadcastAdd4DSlow()
Dcomparisons.h96 const int32_t input2_val = input2_offset + input2_data[i]; in ComparisonWithScaling() local
98 const int32_t shifted_input2_val = input2_val * (1 << left_shift); in ComparisonWithScaling()
193 const int32_t input2_val = in BroadcastComparison4DSlowWithScaling() local
197 const int32_t shifted_input2_val = input2_val * (1 << left_shift); in BroadcastComparison4DSlowWithScaling()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/
Dmul.h31 const int32_t input2_val = params.input2_offset + input2_data[i]; in MulElementwise() local
34 MultiplyByQuantizedMultiplier(input1_val * input2_val, in MulElementwise()
110 const int32_t input2_val = in BroadcastMul4DSlow() local
115 MultiplyByQuantizedMultiplier(input1_val * input2_val, in BroadcastMul4DSlow()
Dadd.h88 const int32_t input2_val = params.input2_offset + y; in AddFunc() local
90 const int32_t shifted_input2_val = input2_val * (1 << params.left_shift); in AddFunc()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/integer_ops/
Dadd.h145 const int32 input2_val = params.input2_offset + input2_data[i]; in AddElementwise() local
147 const int32 shifted_input2_val = input2_val * (1 << params.left_shift); in AddElementwise()
209 const int16x8_t input2_val = in AddScalarBroadcast() local
211 const int16x4_t input2_val_high = vget_high_s16(input2_val); in AddScalarBroadcast()
212 const int16x4_t input2_val_low = vget_low_s16(input2_val); in AddScalarBroadcast()
248 const int32 input2_val = params.input2_offset + input2_data[i]; in AddScalarBroadcast() local
249 const int32 shifted_input2_val = input2_val * (1 << params.left_shift); in AddScalarBroadcast()
Dmul.h127 const int32 input2_val = params.input2_offset + input2_data[i]; in MulElementwise() local
130 MultiplyByQuantizedMultiplier(input1_val * input2_val, in MulElementwise()
219 const int32 input2_val = params.input2_offset + input2_data[i]; in MulSimpleBroadcast() local
222 MultiplyByQuantizedMultiplier(input1_val * input2_val, in MulSimpleBroadcast()
/external/tensorflow/tensorflow/lite/kernels/
Dsquared_difference.cc148 const int32_t input2_val = params.input2_offset + y; in SquaredDifference() local
150 const int32_t shifted_input2_val = input2_val * (1 << params.left_shift); in SquaredDifference()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Doptimized_ops.h1883 const int16x8_t input2_val = in AddElementwise() local
1887 const int16x4_t input2_val_high = vget_high_s16(input2_val); in AddElementwise()
1888 const int16x4_t input2_val_low = vget_low_s16(input2_val); in AddElementwise()
1928 const int32 input2_val = params.input2_offset + input2_data[i]; in AddElementwise() local
1930 const int32 shifted_input2_val = input2_val * (1 << params.left_shift); in AddElementwise()
1994 const int16x8_t input2_val = in AddScalarBroadcast() local
1996 const int16x4_t input2_val_high = vget_high_s16(input2_val); in AddScalarBroadcast()
1997 const int16x4_t input2_val_low = vget_low_s16(input2_val); in AddScalarBroadcast()
2033 const int32 input2_val = params.input2_offset + input2_data[i]; in AddScalarBroadcast() local
2034 const int32 shifted_input2_val = input2_val * (1 << params.left_shift); in AddScalarBroadcast()
[all …]