/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() 108 params.input1_offset + in BroadcastAdd4DSlow()
|
D | mul.h | 28 const int32 input1_val = params.input1_offset + input1_data[i]; in MulElementwise() 107 params.input1_offset + in BroadcastMul4DSlow()
|
/external/tensorflow/tensorflow/lite/kernels/internal/reference/ |
D | legacy_reference_ops.h | 900 const Dims<4>& input1_dims, int32 input1_offset, in Comparison() argument 908 op_params.input1_offset = input1_offset; in Comparison() 938 const Dims<4>& input1_dims, int32 input1_offset, in BroadcastComparison() argument 947 op_params.input1_offset = input1_offset; in BroadcastComparison() 974 int32 input1_offset, int32 input1_multiplier, int input1_shift, \ 980 input1_offset, input1_multiplier, input1_shift, \ 997 int32 input1_offset, int32 input1_multiplier, int input1_shift, \ 1003 input1_offset, input1_multiplier, \ 1166 const Dims<4>& input1_dims, int32 input1_offset, in Add() argument 1187 op_params.input1_offset = input1_offset; in Add() [all …]
|
D | reference_ops.h | 571 TFLITE_DCHECK_GT(params.input1_offset, -256); in AddElementwise() 573 TFLITE_DCHECK_LT(params.input1_offset, 256); in AddElementwise() 577 const int32 input1_val = params.input1_offset + input1_data[i]; in AddElementwise() 605 TFLITE_DCHECK_GT(params.input1_offset, -256); in AddScalarBroadcast() 607 TFLITE_DCHECK_LT(params.input1_offset, 256); in AddScalarBroadcast() 610 const int32 input1_val = params.input1_offset + input1_data; in AddScalarBroadcast() 642 TFLITE_DCHECK_GT(params.input1_offset, -256); in Add() 644 TFLITE_DCHECK_LT(params.input1_offset, 256); in Add() 807 params.input1_offset + in BroadcastAdd4DSlow() 848 switched_params.input1_offset = unswitched_params.input2_offset; in BroadcastAddFivefold() [all …]
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | add.cc | 57 int32 input1_offset; member 98 data->input1_offset = -input1->params.zero_point; in Prepare() 231 op_params.input1_offset = data->input1_offset; in EvalAddQuantized()
|
D | sub.cc | 58 int32 input1_offset; member 107 op_params->input1_offset = -input1_quantization_params.zero_point; in Prepare8BitSubOp() 279 op_params.input1_offset = data->input1_offset; in EvalQuantized()
|
D | comparisons.cc | 68 auto input1_offset = -input1->params.zero_point; \ 83 op_params.input1_offset = input1_offset; \
|
D | mul.cc | 166 op_params.input1_offset = -input1->params.zero_point; in EvalQuantized()
|
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/ |
D | legacy_optimized_ops.h | 946 const Dims<4>& input1_dims, int32 input1_offset, in Add() argument 967 op_params.input1_offset = input1_offset; in Add() 1013 const Dims<4>& input1_dims, int32 input1_offset, in BroadcastAdd() argument 1036 op_params.input1_offset = input1_offset; in BroadcastAdd() 1055 const uint8* input1_data, const Dims<4>& input1_dims, int32 input1_offset, in BroadcastAddFivefold() argument 1076 op_params.input1_offset = input1_offset; in BroadcastAddFivefold() 1168 int32 input1_offset, const uint8* input2_data, in BroadcastMul() argument 1176 op_params.input1_offset = input1_offset; in BroadcastMul() 1190 int32 input1_offset, const uint8* input2_data, in BroadcastMul() argument 1196 BroadcastMul(input1_data, input1_dims, input1_offset, input2_data, in BroadcastMul()
|
D | optimized_ops.h | 2684 TFLITE_DCHECK_GT(params.input1_offset, -256); in AddElementwise() 2686 TFLITE_DCHECK_LT(params.input1_offset, 256); in AddElementwise() 2701 vaddq_s16(input1_val_s16, vdupq_n_s16(params.input1_offset)); in AddElementwise() 2746 const int32 input1_val = params.input1_offset + input1_data[i]; in AddElementwise() 2777 TFLITE_DCHECK_GT(params.input1_offset, -256); in AddScalarBroadcast() 2779 TFLITE_DCHECK_LT(params.input1_offset, 256); in AddScalarBroadcast() 2796 vaddq_s16(input1_val_s16, vdupq_n_s16(params.input1_offset)); in AddScalarBroadcast() 2845 const int32 input1_val = params.input1_offset + input1_data; in AddScalarBroadcast() 2881 TFLITE_DCHECK_GT(params.input1_offset, -256); in Add() 2883 TFLITE_DCHECK_LT(params.input1_offset, 256); in Add() [all …]
|
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/optimized/ |
D | optimized_ops.h | 2900 TFLITE_DCHECK_GT(params.input1_offset, -256); in AddElementwise() 2902 TFLITE_DCHECK_LT(params.input1_offset, 256); in AddElementwise() 2917 vaddq_s16(input1_val_s16, vdupq_n_s16(params.input1_offset)); in AddElementwise() 2962 const int32 input1_val = params.input1_offset + input1_data[i]; in AddElementwise() 2994 TFLITE_DCHECK_GT(params.input1_offset, -256); in Add() 2996 TFLITE_DCHECK_LT(params.input1_offset, 256); in Add() 3073 switched_params.input1_offset = unswitched_params.input2_offset; in BroadcastAddFivefold() 3076 switched_params.input2_offset = unswitched_params.input1_offset; in BroadcastAddFivefold() 3282 TFLITE_DCHECK_GT(params.input1_offset, -256); in MulElementwise() 3283 TFLITE_DCHECK_LT(params.input1_offset, 256); in MulElementwise() [all …]
|
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/ |
D | types.h | 701 int32 input1_offset; member 743 int32 input1_offset; member
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | types.h | 725 int32 input1_offset; member 767 int32 input1_offset; member
|