Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/
Dmul.h28 const int32 input1_val = params.input1_offset + input1_data[i]; in MulElementwise() local
32 MultiplyByQuantizedMultiplierSmallerThanOneExp(input1_val * input2_val, in MulElementwise()
106 const int32 input1_val = in BroadcastMul4DSlow() local
115 input1_val * input2_val, params.output_multiplier, in BroadcastMul4DSlow()
Dadd.h38 const int32 input1_val = params.input1_offset + input1_data[i]; in AddElementwise() local
40 const int32 shifted_input1_val = input1_val * (1 << params.left_shift); in AddElementwise()
107 const int32_t input1_val = in BroadcastAdd4DSlow() local
114 input1_val * (1 << params.left_shift); in BroadcastAdd4DSlow()
/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/internal/reference/
Dreference_ops.h577 const int32 input1_val = params.input1_offset + input1_data[i]; in AddElementwise() local
579 const int32 shifted_input1_val = input1_val * (1 << params.left_shift); in AddElementwise()
610 const int32 input1_val = params.input1_offset + input1_data; in AddScalarBroadcast() local
611 const int32 shifted_input1_val = input1_val * (1 << params.left_shift); in AddScalarBroadcast()
806 const int32 input1_val = in BroadcastAdd4DSlow() local
813 input1_val * (1 << params.left_shift); in BroadcastAdd4DSlow()
1015 const int32 input1_val = params.input1_offset + input1_data[i]; in MulElementwise() local
1019 MultiplyByQuantizedMultiplierSmallerThanOneExp(input1_val * input2_val, in MulElementwise()
1115 const int32 input1_val = in BroadcastMul4DSlow() local
1124 input1_val * input2_val, params.output_multiplier, in BroadcastMul4DSlow()
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Doptimized_ops.h2700 const int16x8_t input1_val = in AddElementwise() local
2704 const int16x4_t input1_val_high = vget_high_s16(input1_val); in AddElementwise()
2705 const int16x4_t input1_val_low = vget_low_s16(input1_val); in AddElementwise()
2746 const int32 input1_val = params.input1_offset + input1_data[i]; in AddElementwise() local
2748 const int32 shifted_input1_val = input1_val * (1 << params.left_shift); in AddElementwise()
2795 const int16x8_t input1_val = in AddScalarBroadcast() local
2797 const int16x4_t input1_val_high = vget_high_s16(input1_val); in AddScalarBroadcast()
2798 const int16x4_t input1_val_low = vget_low_s16(input1_val); in AddScalarBroadcast()
2845 const int32 input1_val = params.input1_offset + input1_data; in AddScalarBroadcast() local
2846 const int32 shifted_input1_val = input1_val * (1 << params.left_shift); in AddScalarBroadcast()
[all …]
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/optimized/
Doptimized_ops.h2916 const auto input1_val = in AddElementwise() local
2920 const auto input1_val_high = vget_high_s16(input1_val); in AddElementwise()
2921 const auto input1_val_low = vget_low_s16(input1_val); in AddElementwise()
2962 const int32 input1_val = params.input1_offset + input1_data[i]; in AddElementwise() local
2964 const int32 shifted_input1_val = input1_val * (1 << params.left_shift); in AddElementwise()
3304 const auto input1_val = vaddq_s16(input1_val_s16, input1_offset_vector); in MulElementwise() local
3307 const auto input1_val_low = vget_low_s16(input1_val); in MulElementwise()
3308 const auto input1_val_high = vget_high_s16(input1_val); in MulElementwise()
3333 const int32 input1_val = params.input1_offset + input1_data[i]; in MulElementwise() local
3337 MultiplyByQuantizedMultiplierSmallerThanOneExp(input1_val * input2_val, in MulElementwise()
[all …]