Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/
Dadd.h33 TFLITE_DCHECK_GE(params.input2_offset, -1 * int8_max_value); in AddElementwise()
35 TFLITE_DCHECK_LE(params.input2_offset, int8_max_value); in AddElementwise()
39 const int32 input2_val = params.input2_offset + input2_data[i]; in AddElementwise()
71 TFLITE_DCHECK_GE(params.input2_offset, -1 * int8_max_value); in Add()
73 TFLITE_DCHECK_LE(params.input2_offset, int8_max_value); in Add()
111 params.input2_offset + in BroadcastAdd4DSlow()
Dmul.h29 const int32 input2_val = params.input2_offset + input2_data[i]; in MulElementwise()
110 params.input2_offset + in BroadcastMul4DSlow()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dlegacy_reference_ops.h903 int32 input2_offset, int32 input2_multiplier, in Comparison() argument
912 op_params.input2_offset = input2_offset; in Comparison()
941 const Dims<4>& input2_dims, int32 input2_offset, in BroadcastComparison() argument
951 op_params.input2_offset = input2_offset; in BroadcastComparison()
975 const T* input2_data, const Dims<4>& input2_dims, int32 input2_offset, \
981 input2_data, input2_dims, input2_offset, \
998 const T* input2_data, const Dims<4>& input2_dims, int32 input2_offset, \
1005 input2_offset, input2_multiplier, \
1169 int32 input2_offset, int32 input2_multiplier, int input2_shift, in Add() argument
1190 op_params.input2_offset = input2_offset; in Add()
[all …]
Dreference_ops.h572 TFLITE_DCHECK_GT(params.input2_offset, -256); in AddElementwise()
574 TFLITE_DCHECK_LT(params.input2_offset, 256); in AddElementwise()
578 const int32 input2_val = params.input2_offset + input2_data[i]; in AddElementwise()
606 TFLITE_DCHECK_GT(params.input2_offset, -256); in AddScalarBroadcast()
608 TFLITE_DCHECK_LT(params.input2_offset, 256); in AddScalarBroadcast()
616 const int32 input2_val = params.input2_offset + input2_data[i]; in AddScalarBroadcast()
643 TFLITE_DCHECK_GT(params.input2_offset, -256); in Add()
645 TFLITE_DCHECK_LT(params.input2_offset, 256); in Add()
810 params.input2_offset + in BroadcastAdd4DSlow()
848 switched_params.input1_offset = unswitched_params.input2_offset; in BroadcastAddFivefold()
[all …]
/external/tensorflow/tensorflow/lite/kernels/
Dadd.cc58 int32 input2_offset; member
99 data->input2_offset = -input2->params.zero_point; in Prepare()
234 op_params.input2_offset = data->input2_offset; in EvalAddQuantized()
Dsub.cc59 int32 input2_offset; member
108 op_params->input2_offset = -input2_quantization_params.zero_point; in Prepare8BitSubOp()
282 op_params.input2_offset = data->input2_offset; in EvalQuantized()
Dcomparisons.cc69 auto input2_offset = -input2->params.zero_point; \
86 op_params.input2_offset = input2_offset; \
Dmul.cc167 op_params.input2_offset = -input2->params.zero_point; in EvalQuantized()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Dlegacy_optimized_ops.h949 int32 input2_offset, int32 input2_multiplier, int input2_shift, in Add() argument
970 op_params.input2_offset = input2_offset; in Add()
1016 int32 input2_offset, int32 input2_multiplier, in BroadcastAdd() argument
1039 op_params.input2_offset = input2_offset; in BroadcastAdd()
1057 const Dims<4>& input2_dims, int32 input2_offset, int32 input2_multiplier, in BroadcastAddFivefold() argument
1079 op_params.input2_offset = input2_offset; in BroadcastAddFivefold()
1169 const Dims<4>& input2_dims, int32 input2_offset, in BroadcastMul() argument
1177 op_params.input2_offset = input2_offset; in BroadcastMul()
1191 const Dims<4>& input2_dims, int32 input2_offset, in BroadcastMul() argument
1197 input2_dims, input2_offset, output_offset, output_multiplier, in BroadcastMul()
Doptimized_ops.h2685 TFLITE_DCHECK_GT(params.input2_offset, -256); in AddElementwise()
2687 TFLITE_DCHECK_LT(params.input2_offset, 256); in AddElementwise()
2703 vaddq_s16(input2_val_s16, vdupq_n_s16(params.input2_offset)); in AddElementwise()
2747 const int32 input2_val = params.input2_offset + input2_data[i]; in AddElementwise()
2778 TFLITE_DCHECK_GT(params.input2_offset, -256); in AddScalarBroadcast()
2780 TFLITE_DCHECK_LT(params.input2_offset, 256); in AddScalarBroadcast()
2814 vaddq_s16(input2_val_s16, vdupq_n_s16(params.input2_offset)); in AddScalarBroadcast()
2852 const int32 input2_val = params.input2_offset + input2_data[i]; in AddScalarBroadcast()
2882 TFLITE_DCHECK_GT(params.input2_offset, -256); in Add()
2884 TFLITE_DCHECK_LT(params.input2_offset, 256); in Add()
[all …]
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/optimized/
Doptimized_ops.h2901 TFLITE_DCHECK_GT(params.input2_offset, -256); in AddElementwise()
2903 TFLITE_DCHECK_LT(params.input2_offset, 256); in AddElementwise()
2919 vaddq_s16(input2_val_s16, vdupq_n_s16(params.input2_offset)); in AddElementwise()
2963 const int32 input2_val = params.input2_offset + input2_data[i]; in AddElementwise()
2995 TFLITE_DCHECK_GT(params.input2_offset, -256); in Add()
2997 TFLITE_DCHECK_LT(params.input2_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()
3284 TFLITE_DCHECK_GT(params.input2_offset, -256); in MulElementwise()
3285 TFLITE_DCHECK_LT(params.input2_offset, 256); in MulElementwise()
[all …]
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/
Dtypes.h702 int32 input2_offset; member
746 int32 input2_offset; member
/external/tensorflow/tensorflow/lite/kernels/internal/
Dtypes.h726 int32 input2_offset; member
770 int32 input2_offset; member