Home
last modified time | relevance | path

Searched refs:input1_offset (Results 1 – 22 of 22) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/
Dadd.h32 TFLITE_DCHECK_GE(params.input1_offset, -1 * int8_max_value); in AddElementwise()
34 TFLITE_DCHECK_LE(params.input1_offset, int8_max_value); in AddElementwise()
38 const int32 input1_val = params.input1_offset + input1_data[i]; in AddElementwise()
70 TFLITE_DCHECK_GE(params.input1_offset, -1 * int8_max_value); in Add()
72 TFLITE_DCHECK_LE(params.input1_offset, int8_max_value); in Add()
107 params.input1_offset + in BroadcastAdd4DSlow()
Dmul.h29 const int32 input1_val = params.input1_offset + input1_data[i]; in MulElementwise()
107 params.input1_offset + in BroadcastMul4DSlow()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/integer_ops/
Dadd.h34 TFLITE_DCHECK_GT(params.input1_offset, -256); in AddElementwise()
36 TFLITE_DCHECK_LT(params.input1_offset, 256); in AddElementwise()
49 vaddq_s16(input1_val_s16, vdupq_n_s16(params.input1_offset)); in AddElementwise()
94 const int32 input1_val = params.input1_offset + input1_data[i]; in AddElementwise()
125 TFLITE_DCHECK_GT(params.input1_offset, -256); in AddScalarBroadcast()
127 TFLITE_DCHECK_LT(params.input1_offset, 256); in AddScalarBroadcast()
143 vaddq_s16(input1_val_s16, vdupq_n_s16(params.input1_offset)); in AddScalarBroadcast()
191 const int32 input1_val = params.input1_offset + input1_data; in AddScalarBroadcast()
227 TFLITE_DCHECK_GT(params.input1_offset, -256); in Add()
229 TFLITE_DCHECK_LT(params.input1_offset, 256); in Add()
[all …]
Dmul.h34 TFLITE_DCHECK_GT(params.input1_offset, -256); in MulElementwise()
35 TFLITE_DCHECK_LT(params.input1_offset, 256); in MulElementwise()
41 const auto input1_offset_vector = vdupq_n_s16(params.input1_offset); in MulElementwise()
88 const int32 input1_val = params.input1_offset + input1_data[i]; in MulElementwise()
107 const int16 input1_val = params.input1_offset + broadcast_value; in MulSimpleBroadcast()
110 TFLITE_DCHECK_GT(params.input1_offset, -256); in MulSimpleBroadcast()
111 TFLITE_DCHECK_LT(params.input1_offset, 256); in MulSimpleBroadcast()
194 switched_params.input1_offset = unswitched_params.input2_offset; in BroadcastMulFivefold()
195 switched_params.input2_offset = unswitched_params.input1_offset; in BroadcastMulFivefold()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dadd.h57 TFLITE_DCHECK_GT(params.input1_offset, -256); in AddElementwise()
59 TFLITE_DCHECK_LT(params.input1_offset, 256); in AddElementwise()
63 const int32 input1_val = params.input1_offset + input1_data[i]; in AddElementwise()
91 TFLITE_DCHECK_GT(params.input1_offset, -256); in AddScalarBroadcast()
93 TFLITE_DCHECK_LT(params.input1_offset, 256); in AddScalarBroadcast()
96 const int32 input1_val = params.input1_offset + input1_data; in AddScalarBroadcast()
128 TFLITE_DCHECK_GT(params.input1_offset, -256); in Add()
130 TFLITE_DCHECK_LT(params.input1_offset, 256); in Add()
290 params.input1_offset + in BroadcastAdd4DSlow()
331 switched_params.input1_offset = unswitched_params.input2_offset; in BroadcastAddFivefold()
[all …]
Dcomparisons.h84 int32 input1_offset = op_params.input1_offset; in ComparisonWithScaling() local
94 const int32 input1_val = input1_offset + input1_data[i]; in ComparisonWithScaling()
168 int32 input1_offset = op_params.input1_offset; in BroadcastComparison4DSlowWithScaling() local
180 input1_offset + input1_data[SubscriptToIndex(desc1, b, y, x, c)]; in BroadcastComparison4DSlowWithScaling()
Dlegacy_reference_ops.h1021 const Dims<4>& input1_dims, int32 input1_offset, in Comparison() argument
1029 op_params.input1_offset = input1_offset; in Comparison()
1059 const Dims<4>& input1_dims, int32 input1_offset, in BroadcastComparison() argument
1068 op_params.input1_offset = input1_offset; in BroadcastComparison()
1095 int32 input1_offset, int32 input1_multiplier, int input1_shift, \
1101 input1_offset, input1_multiplier, input1_shift, \
1118 int32 input1_offset, int32 input1_multiplier, int input1_shift, \
1124 input1_offset, input1_multiplier, \
1287 const Dims<4>& input1_dims, int32 input1_offset, in Add() argument
1308 op_params.input1_offset = input1_offset; in Add()
[all …]
Dmul.h30 const int32 input1_val = params.input1_offset + input1_data[i]; in MulElementwise()
93 params.input1_offset + in BroadcastMul4DSlow()
Dreference_ops.h382 switched_params.input1_offset = unswitched_params.input2_offset; in BroadcastMulFivefold()
383 switched_params.input2_offset = unswitched_params.input1_offset; in BroadcastMulFivefold()
550 TFLITE_DCHECK_GT(params.input1_offset, -256); in DivElementwise()
551 TFLITE_DCHECK_LT(params.input1_offset, 256); in DivElementwise()
558 const int32 input1_val = params.input1_offset + input1_data[i]; in DivElementwise()
611 TFLITE_DCHECK_GT(params.input1_offset, -256); in BroadcastDiv4DSlow()
612 TFLITE_DCHECK_LT(params.input1_offset, 256); in BroadcastDiv4DSlow()
623 params.input1_offset + in BroadcastDiv4DSlow()
765 params.input1_offset + in BroadcastSub4DSlow()
/external/tensorflow/tensorflow/lite/micro/kernels/cmsis-nn/
Dadd.cc52 int32 input1_offset; member
65 data->input1_offset = -input1->params.zero_point; in CalculateOpData()
125 op_params.input1_offset = data->input1_offset; in EvalAddQuantized()
149 op_params.input1_offset, op_params.input1_multiplier, in EvalAddQuantized()
Dmul.cc73 op_params.input1_offset = -input1->params.zero_point; in EvalQuantized()
93 op_params.input1_offset, op_params.input2_offset, in EvalQuantized()
/external/tensorflow/tensorflow/lite/micro/kernels/
Dadd.cc52 int32 input1_offset; member
75 data->input1_offset = -input1->params.zero_point; in CalculateOpData()
136 op_params.input1_offset = data->input1_offset; in EvalAddQuantized()
Dcomparisons.cc40 auto input1_offset = -input1->params.zero_point; \
57 op_params.input1_offset = input1_offset; \
Dmul.cc80 op_params.input1_offset = -input1->params.zero_point; in EvalQuantized()
/external/tensorflow/tensorflow/lite/kernels/
Dadd.cc58 int32 input1_offset; member
98 data->input1_offset = -input1->params.zero_point; in Prepare()
227 op_params.input1_offset = data->input1_offset; in EvalAddQuantized()
Dsub.cc60 int32 input1_offset; member
109 op_params->input1_offset = -input1_quantization_params.zero_point; in Prepare8BitSubOp()
276 op_params.input1_offset = data->input1_offset; in EvalQuantized()
Dcomparisons.cc61 auto input1_offset = -input1->params.zero_point; in ComparisonQuantized() local
76 op_params.input1_offset = input1_offset; in ComparisonQuantized()
Ddiv.cc157 op_params.input1_offset = -input1->params.zero_point; in EvalQuantized()
Dmul.cc160 op_params.input1_offset = -input1->params.zero_point; in EvalQuantized()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Doptimized_ops.h1732 TFLITE_DCHECK_GT(params.input1_offset, -256); in AddElementwise()
1734 TFLITE_DCHECK_LT(params.input1_offset, 256); in AddElementwise()
1749 vaddq_s16(input1_val_s16, vdupq_n_s16(params.input1_offset)); in AddElementwise()
1794 const int32 input1_val = params.input1_offset + input1_data[i]; in AddElementwise()
1825 TFLITE_DCHECK_GT(params.input1_offset, -256); in AddScalarBroadcast()
1827 TFLITE_DCHECK_LT(params.input1_offset, 256); in AddScalarBroadcast()
1844 vaddq_s16(input1_val_s16, vdupq_n_s16(params.input1_offset)); in AddScalarBroadcast()
1893 const int32 input1_val = params.input1_offset + input1_data; in AddScalarBroadcast()
1962 TFLITE_DCHECK_GT(params.input1_offset, -256); in Add()
1964 TFLITE_DCHECK_LT(params.input1_offset, 256); in Add()
[all …]
Dlegacy_optimized_ops.h3496 const Dims<4>& input1_dims, int32 input1_offset, in Add() argument
3517 op_params.input1_offset = input1_offset; in Add()
3563 const Dims<4>& input1_dims, int32 input1_offset, in BroadcastAdd() argument
3586 op_params.input1_offset = input1_offset; in BroadcastAdd()
3605 const uint8* input1_data, const Dims<4>& input1_dims, int32 input1_offset, in BroadcastAddFivefold() argument
3626 op_params.input1_offset = input1_offset; in BroadcastAddFivefold()
3718 int32 input1_offset, const uint8* input2_data, in BroadcastMul() argument
3726 op_params.input1_offset = input1_offset; in BroadcastMul()
3740 int32 input1_offset, const uint8* input2_data, in BroadcastMul() argument
3746 BroadcastMul(input1_data, input1_dims, input1_offset, input2_data, in BroadcastMul()
/external/tensorflow/tensorflow/lite/kernels/internal/
Dtypes.h757 int32 input1_offset; member
799 int32 input1_offset; member