Home
last modified time | relevance | path

Searched refs:input1_val (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Ddiv.h39 const int32 input1_val = params.input1_offset + input1_data[i]; in DivElementwise() local
46 const int headroom = CountLeadingSignBits(input1_val); in DivElementwise()
48 input1_val, input2_inv, headroom); in DivElementwise()
101 const int32 input1_val = in BroadcastDivSlow() local
110 const int headroom = CountLeadingSignBits(input1_val); in BroadcastDivSlow()
112 input1_val, input2_inv, headroom); in BroadcastDivSlow()
Dmul.h30 const int32_t input1_val = params.input1_offset + input1_data[i]; in MulElementwise() local
34 MultiplyByQuantizedMultiplier(input1_val * input2_val, in MulElementwise()
92 const int32_t input1_val = in BroadcastMul4DSlow() local
100 MultiplyByQuantizedMultiplier(input1_val * input2_val, in BroadcastMul4DSlow()
Dsub.h139 const int32_t input1_val = in BroadcastSubSlow() local
143 const int32_t shifted_input1_val = input1_val * (1 << params.left_shift); in BroadcastSubSlow()
233 const int32_t input1_val = in BroadcastSubSlow() local
237 const int32_t shifted_input1_val = input1_val * (1 << params.left_shift); in BroadcastSubSlow()
363 const int32_t input1_val = input1_data[SubscriptToIndex(desc1, indexes)]; in BroadcastSub16POTSlow() local
366 gemmlowp::RoundingDivideByPOT(input1_val, -params.input1_shift); in BroadcastSub16POTSlow()
390 const int32_t input1_val = params.input1_offset + input1_data[i]; in SubElementwise() local
392 const int32_t shifted_input1_val = input1_val * (1 << params.left_shift); in SubElementwise()
424 const int32_t input1_val = params.input1_offset + input1_data[i]; in SubElementwise() local
426 const int32_t shifted_input1_val = input1_val * (1 << params.left_shift); in SubElementwise()
Dadd.h68 const int32_t input1_val = params.input1_offset + input1_data[i]; in AddElementwise() local
70 const int32_t shifted_input1_val = input1_val * (1 << params.left_shift); in AddElementwise()
101 const int32_t input1_val = params.input1_offset + input1_data; in AddScalarBroadcast() local
102 const int32_t shifted_input1_val = input1_val * (1 << params.left_shift); in AddScalarBroadcast()
316 const int32_t input1_val = in BroadcastAdd4DSlow() local
323 input1_val * (1 << params.left_shift); in BroadcastAdd4DSlow()
Dcomparisons.h95 const int32_t input1_val = input1_offset + input1_data[i]; in ComparisonWithScaling() local
97 const int32_t shifted_input1_val = input1_val * (1 << left_shift); in ComparisonWithScaling()
190 const int32_t input1_val = in BroadcastComparison4DSlowWithScaling() local
196 const int32_t shifted_input1_val = input1_val * (1 << left_shift); in BroadcastComparison4DSlowWithScaling()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/integer_ops/
Dmul.h126 const int32 input1_val = params.input1_offset + input1_data[i]; in MulElementwise() local
130 MultiplyByQuantizedMultiplier(input1_val * input2_val, in MulElementwise()
145 const int16 input1_val = params.input1_offset + broadcast_value; in MulSimpleBroadcast() local
181 auto p1 = vmull_n_s16(input2_val_high_high, input1_val); in MulSimpleBroadcast()
182 auto p2 = vmull_n_s16(input2_val_high_low, input1_val); in MulSimpleBroadcast()
183 auto p3 = vmull_n_s16(input2_val_low_high, input1_val); in MulSimpleBroadcast()
184 auto p4 = vmull_n_s16(input2_val_low_low, input1_val); in MulSimpleBroadcast()
222 MultiplyByQuantizedMultiplier(input1_val * input2_val, in MulSimpleBroadcast()
Dadd.h144 const int32 input1_val = params.input1_offset + input1_data[i]; in AddElementwise() local
146 const int32 shifted_input1_val = input1_val * (1 << params.left_shift); in AddElementwise()
192 const int16x8_t input1_val = in AddScalarBroadcast() local
194 const int16x4_t input1_val_high = vget_high_s16(input1_val); in AddScalarBroadcast()
195 const int16x4_t input1_val_low = vget_low_s16(input1_val); in AddScalarBroadcast()
241 const int32 input1_val = params.input1_offset + input1_data; in AddScalarBroadcast() local
242 const int32 shifted_input1_val = input1_val * (1 << params.left_shift); in AddScalarBroadcast()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/
Dmul.h30 const int32_t input1_val = params.input1_offset + input1_data[i]; in MulElementwise() local
34 MultiplyByQuantizedMultiplier(input1_val * input2_val, in MulElementwise()
107 const int32_t input1_val = in BroadcastMul4DSlow() local
115 MultiplyByQuantizedMultiplier(input1_val * input2_val, in BroadcastMul4DSlow()
Dadd.h87 const int32_t input1_val = params.input1_offset + x; in AddFunc() local
89 const int32_t shifted_input1_val = input1_val * (1 << params.left_shift); in AddFunc()
/external/tensorflow/tensorflow/python/kernel_tests/
Dsparse_tensors_map_ops_test.py108 input1_val = self._SparseTensorValue_3x4(np.arange(6))
112 handle1_value = sess.run(handle, feed_dict={sp_input: input1_val})
126 self.assertAllEqual(combined_indices[6:, 1:], input1_val[0])
128 self.assertAllEqual(combined_values[6:], input1_val[1])
159 input1_val = self._SparseTensorValue_1x1x1()
163 handle1_value = sess.run(handle, feed_dict={sp_input: input1_val})
Dsparse_serialization_ops_test.py216 input1_val = self._SparseTensorValue_3x4(np.arange(6))
225 sp_input1: input1_val})
230 self.assertAllEqual(combined_indices[6:, 1:], input1_val[0])
232 self.assertAllEqual(combined_values[6:], input1_val[1])
373 input1_val = self._SparseTensorValue_3x4(np.arange(6))
385 sp_input1: input1_val})
411 input1_val = self._SparseTensorValue_1x1x1()
423 sp_input1: input1_val})
/external/tensorflow/tensorflow/lite/kernels/
Dsquared_difference.cc147 const int32_t input1_val = params.input1_offset + x; in SquaredDifference() local
149 const int32_t shifted_input1_val = input1_val * (1 << params.left_shift); in SquaredDifference()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Doptimized_ops.h1881 const int16x8_t input1_val = in AddElementwise() local
1885 const int16x4_t input1_val_high = vget_high_s16(input1_val); in AddElementwise()
1886 const int16x4_t input1_val_low = vget_low_s16(input1_val); in AddElementwise()
1927 const int32 input1_val = params.input1_offset + input1_data[i]; in AddElementwise() local
1929 const int32 shifted_input1_val = input1_val * (1 << params.left_shift); in AddElementwise()
1976 const int16x8_t input1_val = in AddScalarBroadcast() local
1978 const int16x4_t input1_val_high = vget_high_s16(input1_val); in AddScalarBroadcast()
1979 const int16x4_t input1_val_low = vget_low_s16(input1_val); in AddScalarBroadcast()
2026 const int32 input1_val = params.input1_offset + input1_data; in AddScalarBroadcast() local
2027 const int32 shifted_input1_val = input1_val * (1 << params.left_shift); in AddScalarBroadcast()
[all …]