Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/kernels/
Dadd.cc46 int input1_shift; member
113 real_input1_multiplier, &data->input1_multiplier, &data->input1_shift); in Prepare()
158 data->input1_shift = input1_scale_log2_rounded - output_scale_log2_rounded; in Prepare()
163 TF_LITE_ENSURE(context, data->input1_shift == 0 || data->input2_shift == 0); in Prepare()
164 TF_LITE_ENSURE(context, data->input1_shift <= 0); in Prepare()
233 op_params.input1_shift = data->input1_shift; in EvalAddQuantized()
277 op_params.input1_shift = data->input1_shift; \ in EvalAddQuantized()
Dsub.cc47 int input1_shift; member
124 &op_params->input1_shift); in Prepare8BitSubOp()
175 data->input1_shift = input1_scale_log2_rounded - output_scale_log2_rounded; in PrepareInt16SubOp()
180 TF_LITE_ENSURE(context, data->input1_shift == 0 || data->input2_shift == 0); in PrepareInt16SubOp()
181 TF_LITE_ENSURE(context, data->input1_shift <= 0); in PrepareInt16SubOp()
281 op_params.input1_shift = data->input1_shift; in EvalQuantized()
Dcomparisons.cc73 int input1_shift; \
75 &input1_multiplier, &input1_shift); \
85 op_params.input1_shift = input1_shift; \
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dlegacy_reference_ops.h901 int32 input1_multiplier, int input1_shift, in Comparison() argument
911 op_params.input1_shift = kReverseShift * input1_shift; in Comparison()
939 int32 input1_multiplier, int input1_shift, in BroadcastComparison() argument
950 op_params.input1_shift = kReverseShift * input1_shift; 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, \
1004 input1_shift, input2_data, input2_dims, \
1167 int32 input1_multiplier, int input1_shift, in Add() argument
1189 op_params.input1_shift = kReverseShift * input1_shift; in Add()
[all …]
Dreference_ops.h583 shifted_input1_val, params.input1_multiplier, params.input1_shift); in AddElementwise()
614 shifted_input1_val, params.input1_multiplier, params.input1_shift); in AddScalarBroadcast()
656 const int input1_shift = params.input1_shift; in Add() local
662 TFLITE_DCHECK(input1_shift == 0 || params.input2_shift == 0); in Add()
663 TFLITE_DCHECK_LE(input1_shift, 0); in Add()
665 const int16* not_shift_input = input1_shift == 0 ? input1_data : input2_data; in Add()
666 const int16* shift_input = input1_shift == 0 ? input2_data : input1_data; in Add()
668 input1_shift == 0 ? -params.input2_shift : -input1_shift; in Add()
819 params.input1_shift); in BroadcastAdd4DSlow()
850 switched_params.input1_shift = unswitched_params.input2_shift; in BroadcastAddFivefold()
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/
Dadd.h44 shifted_input1_val, params.input1_multiplier, params.input1_shift); in AddElementwise()
120 params.input1_shift); in BroadcastAdd4DSlow()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Dlegacy_optimized_ops.h947 int32 input1_multiplier, int input1_shift, in Add() argument
969 op_params.input1_shift = kReverseShift * input1_shift; in Add()
1014 int32 input1_multiplier, int input1_shift, in BroadcastAdd() argument
1038 op_params.input1_shift = kReverseShift * input1_shift; in BroadcastAdd()
1056 int32 input1_multiplier, int input1_shift, const uint8* input2_data, in BroadcastAddFivefold() argument
1078 op_params.input1_shift = kReverseShift * input1_shift; in BroadcastAddFivefold()
1112 int input1_shift, const int16* input2_data, in Add() argument
1129 op_params.input1_shift = kReverseShift * input1_shift; in Add()
Doptimized_ops.h2721 const int32x4_t input1_shift_dup = vdupq_n_s32(params.input1_shift); in AddElementwise()
2752 shifted_input1_val, params.input1_multiplier, params.input1_shift); in AddElementwise()
2805 const int32x4_t input1_shift_dup = vdupq_n_s32(params.input1_shift); in AddScalarBroadcast()
2849 shifted_input1_val, params.input1_multiplier, params.input1_shift); in AddScalarBroadcast()
2896 const int input1_shift = params.input1_shift; in Add() local
2902 TFLITE_DCHECK(input1_shift == 0 || params.input2_shift == 0); in Add()
2903 TFLITE_DCHECK_LE(input1_shift, 0); in Add()
2905 const int16* not_shift_input = input1_shift == 0 ? input1_data : input2_data; in Add()
2906 const int16* shift_input = input1_shift == 0 ? input2_data : input1_data; in Add()
2908 input1_shift == 0 ? -params.input2_shift : -input1_shift; in Add()
[all …]
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/
Dtypes.h709 int input1_shift; member
745 int input1_shift; member
/external/tensorflow/tensorflow/lite/kernels/internal/
Dtypes.h733 int input1_shift; member
769 int input1_shift; member
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/optimized/
Doptimized_ops.h2937 const auto input1_shift_dup = vdupq_n_s32(params.input1_shift); in AddElementwise()
2968 shifted_input1_val, params.input1_multiplier, params.input1_shift); in AddElementwise()
3009 const int input1_shift = params.input1_shift; in Add() local
3015 TFLITE_DCHECK(input1_shift == 0 || params.input2_shift == 0); in Add()
3016 TFLITE_DCHECK_LE(input1_shift, 0); in Add()
3018 const int16* not_shift_input = input1_shift == 0 ? input1_data : input2_data; in Add()
3019 const int16* shift_input = input1_shift == 0 ? input2_data : input1_data; in Add()
3021 input1_shift == 0 ? -params.input2_shift : -input1_shift; in Add()
3075 switched_params.input1_shift = unswitched_params.input2_shift; in BroadcastAddFivefold()
3078 switched_params.input2_shift = unswitched_params.input1_shift; in BroadcastAddFivefold()