/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/ |
D | add.h | 32 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()
|
D | mul.h | 29 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/ |
D | add.h | 34 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 …]
|
D | mul.h | 34 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/ |
D | add.h | 57 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 …]
|
D | comparisons.h | 84 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()
|
D | legacy_reference_ops.h | 1021 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 …]
|
D | mul.h | 30 const int32 input1_val = params.input1_offset + input1_data[i]; in MulElementwise() 93 params.input1_offset + in BroadcastMul4DSlow()
|
D | reference_ops.h | 382 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/ |
D | add.cc | 52 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()
|
D | mul.cc | 73 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/ |
D | add.cc | 52 int32 input1_offset; member 75 data->input1_offset = -input1->params.zero_point; in CalculateOpData() 136 op_params.input1_offset = data->input1_offset; in EvalAddQuantized()
|
D | comparisons.cc | 40 auto input1_offset = -input1->params.zero_point; \ 57 op_params.input1_offset = input1_offset; \
|
D | mul.cc | 80 op_params.input1_offset = -input1->params.zero_point; in EvalQuantized()
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | add.cc | 58 int32 input1_offset; member 98 data->input1_offset = -input1->params.zero_point; in Prepare() 227 op_params.input1_offset = data->input1_offset; in EvalAddQuantized()
|
D | sub.cc | 60 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()
|
D | comparisons.cc | 61 auto input1_offset = -input1->params.zero_point; in ComparisonQuantized() local 76 op_params.input1_offset = input1_offset; in ComparisonQuantized()
|
D | div.cc | 157 op_params.input1_offset = -input1->params.zero_point; in EvalQuantized()
|
D | mul.cc | 160 op_params.input1_offset = -input1->params.zero_point; in EvalQuantized()
|
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/ |
D | optimized_ops.h | 1732 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 …]
|
D | legacy_optimized_ops.h | 3496 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/ |
D | types.h | 757 int32 input1_offset; member 799 int32 input1_offset; member
|