Home
last modified time | relevance | path

Searched refs:input1_shift (Results 1 – 19 of 19) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dadd.h74 shifted_input1_val, params.input1_multiplier, params.input1_shift); in AddElementwise()
105 shifted_input1_val, params.input1_multiplier, params.input1_shift); in AddScalarBroadcast()
175 const int input1_shift = params.input1_shift; variable
181 TFLITE_DCHECK(input1_shift == 0 || params.input2_shift == 0);
182 TFLITE_DCHECK_LE(input1_shift, 0);
185 input1_shift == 0 ? input1_data : input2_data;
186 const int16_t* shift_input = input1_shift == 0 ? input2_data : input1_data;
188 input1_shift == 0 ? -params.input2_shift : -input1_shift;
329 params.input1_shift); in BroadcastAdd4DSlow()
360 switched_params.input1_shift = unswitched_params.input2_shift; in BroadcastAddFivefold()
[all …]
Dcomparisons.h87 int input1_shift = op_params.input1_shift; in ComparisonWithScaling() local
101 shifted_input1_val, input1_multiplier, input1_shift); in ComparisonWithScaling()
181 int input1_shift = op_params.input1_shift; in BroadcastComparison4DSlowWithScaling() local
200 shifted_input1_val, input1_multiplier, input1_shift); in BroadcastComparison4DSlowWithScaling()
Dlegacy_reference_ops.h992 int32 input1_multiplier, int input1_shift, in Comparison() argument
1002 op_params.input1_shift = kReverseShift * input1_shift; in Comparison()
1030 int32 input1_multiplier, int input1_shift, in BroadcastComparison() argument
1041 op_params.input1_shift = kReverseShift * input1_shift; in BroadcastComparison()
1065 int32 input1_offset, int32 input1_multiplier, int input1_shift, \
1071 input1_offset, input1_multiplier, input1_shift, \
1088 int32 input1_offset, int32 input1_multiplier, int input1_shift, \
1095 input1_shift, input2_data, input2_dims, \
1258 int32 input1_multiplier, int input1_shift, in Add() argument
1280 op_params.input1_shift = kReverseShift * input1_shift; in Add()
[all …]
Dsub.h147 shifted_input1_val, params.input1_multiplier, params.input1_shift); in BroadcastSubSlow()
241 shifted_input1_val, params.input1_multiplier, params.input1_shift); in BroadcastSubSlow()
366 gemmlowp::RoundingDivideByPOT(input1_val, -params.input1_shift); in BroadcastSub16POTSlow()
396 shifted_input1_val, params.input1_multiplier, params.input1_shift); in SubElementwise()
430 shifted_input1_val, params.input1_multiplier, params.input1_shift); in SubElementwise()
Dreference_ops.h273 const int input1_shift = params.input1_shift; in Sub16() local
279 TFLITE_DCHECK(input1_shift == 0 || params.input2_shift == 0); in Sub16()
280 TFLITE_DCHECK_LE(input1_shift, 0); in Sub16()
282 const int16* not_shift_input = input1_shift == 0 ? input1_data : input2_data; in Sub16()
283 const int16* shift_input = input1_shift == 0 ? input2_data : input1_data; in Sub16()
285 input1_shift == 0 ? -params.input2_shift : -input1_shift; in Sub16()
287 if (input1_shift == 0) { in Sub16()
/external/tensorflow/tensorflow/lite/kernels/
Dadd.cc57 int input1_shift; member
187 real_input1_multiplier, &data->input1_multiplier, &data->input1_shift); in Prepare()
215 data->input1_shift = input1_scale_log2_rounded - output_scale_log2_rounded; in Prepare()
220 TF_LITE_ENSURE(context, data->input1_shift == 0 || data->input2_shift == 0); in Prepare()
221 TF_LITE_ENSURE(context, data->input1_shift <= 0); in Prepare()
293 op_params.input1_shift = data->input1_shift; in EvalAddQuantized()
350 op_params.input1_shift = data->input1_shift; in EvalAddQuantized()
Dsub.cc60 int input1_shift; member
150 &op_params->input1_shift); in PrepareGeneralSubOp()
198 data->input1_shift = input1_scale_log2_rounded - output_scale_log2_rounded; in PrepareInt16SubOpPOT()
203 TF_LITE_ENSURE(context, data->input1_shift == 0 || data->input2_shift == 0); in PrepareInt16SubOpPOT()
204 TF_LITE_ENSURE(context, data->input1_shift <= 0); in PrepareInt16SubOpPOT()
376 op_params.input1_shift = data->input1_shift; in EvalQuantized()
Dcomparisons.cc93 int input1_shift; in ComparisonQuantized() local
95 &input1_multiplier, &input1_shift); in ComparisonQuantized()
105 op_params.input1_shift = input1_shift; in ComparisonQuantized()
Dsquared_difference.cc119 &data->arithmetic_params.input1_shift); in Prepare()
153 shifted_input1_val, params.input1_multiplier, params.input1_shift); in SquaredDifference()
/external/tensorflow/tensorflow/lite/micro/kernels/cmsis_nn/
Dadd.cc43 int input1_shift; member
83 real_input1_multiplier, &data->input1_multiplier, &data->input1_shift); in CalculateOpData()
132 op_params.input1_shift = data->input1_shift; in EvalAddQuantized()
159 op_params.input1_shift, op_params.input2_offset, in EvalAddQuantized()
/external/tensorflow/tensorflow/lite/micro/kernels/
Dsub.cc43 int input1_shift; member
82 real_input1_multiplier, &data->input1_multiplier, &data->input1_shift); in CalculateOpData()
159 op_params.input1_shift = data->input1_shift; in EvalSubQuantized()
Dadd.cc43 int input1_shift; member
87 real_input1_multiplier, &data->input1_multiplier, &data->input1_shift); in CalculateOpData()
141 op_params.input1_shift = data->input1_shift; in EvalAddQuantized()
Dcomparisons.cc632 int input1_shift; in Prepare() local
635 &input1_shift); in Prepare()
645 data->params.input1_shift = input1_shift; in Prepare()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/integer_ops/
Dadd.h51 const int input1_left_shift = params.left_shift + params.input1_shift; in AddElementwise()
150 shifted_input1_val, params.input1_multiplier, params.input1_shift); in AddElementwise()
202 const int32x4_t input1_shift_dup = vdupq_n_s32(params.input1_shift); in AddScalarBroadcast()
245 shifted_input1_val, params.input1_multiplier, params.input1_shift); in AddScalarBroadcast()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/
Dadd.h93 shifted_input1_val, params.input1_multiplier, params.input1_shift); in AddFunc()
/external/tensorflow/tensorflow/lite/micro/kernels/ceva/
Dtypes.h64 int input1_shift; member
956 int input1_shift;
/external/tensorflow/tensorflow/lite/kernels/internal/
Dtypes.h803 int input1_shift; member
844 int input1_shift; member
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Dlegacy_optimized_ops.h3510 int32 input1_multiplier, int input1_shift, in Add() argument
3532 op_params.input1_shift = kReverseShift * input1_shift; in Add()
3577 int32 input1_multiplier, int input1_shift, in BroadcastAdd() argument
3601 op_params.input1_shift = kReverseShift * input1_shift; in BroadcastAdd()
3619 int32 input1_multiplier, int input1_shift, const uint8* input2_data, in BroadcastAddFivefold() argument
3641 op_params.input1_shift = kReverseShift * input1_shift; in BroadcastAddFivefold()
3675 int input1_shift, const int16* input2_data, in Add() argument
3692 op_params.input1_shift = kReverseShift * input1_shift; in Add()
Doptimized_ops.h216 switched_params.input1_shift = unswitched_params.input2_shift; in BinaryBroadcastFiveFold()
219 switched_params.input2_shift = unswitched_params.input1_shift; in BinaryBroadcastFiveFold()
1902 const int32x4_t input1_shift_dup = vdupq_n_s32(params.input1_shift); in AddElementwise()
1933 shifted_input1_val, params.input1_multiplier, params.input1_shift); in AddElementwise()
1986 const int32x4_t input1_shift_dup = vdupq_n_s32(params.input1_shift); in AddScalarBroadcast()
2030 shifted_input1_val, params.input1_multiplier, params.input1_shift); in AddScalarBroadcast()
2110 const int input1_shift = params.input1_shift; in Add() local
2116 TFLITE_DCHECK(input1_shift == 0 || params.input2_shift == 0); in Add()
2117 TFLITE_DCHECK_LE(input1_shift, 0); in Add()
2119 const int16* not_shift_input = input1_shift == 0 ? input1_data : input2_data; in Add()
[all …]