Home
last modified time | relevance | path

Searched refs:output_multiplier (Results 1 – 25 of 28) sorted by relevance

12

/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dfully_connected.h75 const int32 output_multiplier = params.output_multiplier; in FullyConnected() local
105 acc = MultiplyByQuantizedMultiplier(acc, output_multiplier, output_shift); in FullyConnected()
124 const int32 output_multiplier = params.output_multiplier; in FullyConnected() local
158 MultiplyByQuantizedMultiplier(accum, output_multiplier, output_shift); in FullyConnected()
176 const int32 output_multiplier = params.output_multiplier; in ShuffledFullyConnected() local
258 MultiplyByQuantizedMultiplier(acc, output_multiplier, output_shift); in ShuffledFullyConnected()
308 acc = MultiplyByQuantizedMultiplier(acc, output_multiplier, in ShuffledFullyConnected()
Dlegacy_reference_ops.h115 int32 output_offset, int32 output_multiplier, in DepthwiseConv() argument
134 op_params.output_multiplier = output_multiplier; in DepthwiseConv()
149 int32 output_offset, int32 output_multiplier, in DepthwiseConv() argument
156 output_offset, output_multiplier, output_shift, in DepthwiseConv()
169 int32 output_multiplier, int output_shift, in DepthwiseConv() argument
179 output_offset, output_multiplier, output_shift, in DepthwiseConv()
191 int32 output_offset, int32 output_multiplier, in DepthwiseConv() argument
198 output_offset, output_multiplier, output_shift, in DepthwiseConv()
280 int32 output_offset, int32 output_multiplier, int output_shift, in Conv() argument
297 op_params.output_multiplier = output_multiplier; in Conv()
[all …]
Ddepthwiseconv_uint8.h111 const int32 output_multiplier = params.output_multiplier; in Run() local
161 acc = DepthwiseConvRound<output_rounding>(acc, output_multiplier, in Run()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Ddepthwiseconv_uint8_transitional.h2297 const int32 output_multiplier = params.output_multiplier;
2311 DepthwiseConvOutputRounding::kUpward>(acc, output_multiplier,
2461 const int32 output_multiplier = function_params.output_multiplier;
2475 DepthwiseConvOutputRounding::kUpward>(acc, output_multiplier,
2602 const int32 output_multiplier = function_params->output_multiplier;
2702 acc, output_multiplier, output_shift);
2809 const int32 output_multiplier = function_params->output_multiplier;
2893 acc, output_multiplier, output_shift);
2919 acc, output_multiplier, output_shift);
2985 const int32 output_multiplier = function_params->output_multiplier;
[all …]
Dlegacy_optimized_ops.h214 int32 output_offset, int32 output_multiplier, in DepthwiseConv() argument
233 op_params.output_multiplier = output_multiplier; in DepthwiseConv()
248 int32 output_offset, int32 output_multiplier, in DepthwiseConv() argument
255 output_offset, output_multiplier, output_shift, in DepthwiseConv()
268 int32 output_multiplier, int output_shift, in DepthwiseConv() argument
278 output_offset, output_multiplier, output_shift, in DepthwiseConv()
290 int32 output_offset, int32 output_multiplier, in DepthwiseConv() argument
297 output_offset, output_multiplier, output_shift, in DepthwiseConv()
360 int32 output_offset, int32 output_multiplier, in FullyConnected() argument
369 op_params.output_multiplier = output_multiplier; in FullyConnected()
[all …]
Ddepthwiseconv_uint8_3x3_filter.h286 int32 output_multiplier;
343 static_assert(offsetof(DepthwiseConvParams, output_multiplier) ==
406 int32 output_multiplier;
3553 const int32 output_multiplier = rt_params.output_multiplier;
3569 params.output_multiplier = output_multiplier;
4960 const int32 output_multiplier = function_params->output_multiplier;
5065 acc0 = vqrdmulhq_n_s32(acc0, output_multiplier);
5068 acc1 = vqrdmulhq_n_s32(acc1, output_multiplier);
5071 acc2 = vqrdmulhq_n_s32(acc2, output_multiplier);
5074 acc3 = vqrdmulhq_n_s32(acc3, output_multiplier);
[all …]
Doptimized_ops.h821 int32 output_multiplier, int output_shift, int32 output_activation_min, in FullyConnectedAsGEMVWorkerImpl() argument
1007 reduced = vqrdmulhq_n_s32(reduced, output_multiplier); in FullyConnectedAsGEMVWorkerImpl()
1010 reduced = vqrdmulhq_n_s32(reduced, output_multiplier); in FullyConnectedAsGEMVWorkerImpl()
1040 int32 output_multiplier, int output_shift, in FullyConnectedAsGEMVWorkerTask()
1054 output_multiplier_(output_multiplier), in FullyConnectedAsGEMVWorkerTask()
1097 int32 output_multiplier, int output_shift, int32 output_activation_min, in FullyConnectedAsGEMV() argument
1112 filter_offset, bias_shape, bias_data, output_offset, output_multiplier, in FullyConnectedAsGEMV()
1128 filter_offset, bias_shape, bias_data, output_offset, output_multiplier, in FullyConnectedAsGEMV()
1147 int32 output_offset, int32 output_multiplier, in MakeExp()
1155 quantize_down_stage.result_fixedpoint_multiplier = output_multiplier; in MakeExp()
[all …]
Ddepthwiseconv_uint8.h1676 const int32 output_multiplier = params.output_multiplier;
1828 acc[j] = vqrdmulhq_n_s32(acc[j], output_multiplier);
1837 acc[j] = vqrdmulhq_n_s32(acc[j], output_multiplier);
1872 acc0 = vqrdmulhq_n_s32(acc0, output_multiplier);
1873 acc1 = vqrdmulhq_n_s32(acc1, output_multiplier);
1880 acc0 = vqrdmulhq_n_s32(acc0, output_multiplier);
1883 acc1 = vqrdmulhq_n_s32(acc1, output_multiplier);
1910 acc = vqrdmulhq_n_s32(acc, output_multiplier);
1916 acc = vqrdmulhq_n_s32(acc, output_multiplier);
1938 acc = MultiplyByQuantizedMultiplier(acc, output_multiplier,
/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/
Dfully_connected.h33 const int32 output_multiplier = params.output_multiplier; in FullyConnected() local
57 acc = MultiplyByQuantizedMultiplier(acc, output_multiplier, output_shift); in FullyConnected()
Dconv.h25 const ConvParams& params, const int32* output_multiplier, in ConvPerChannel() argument
113 acc, output_multiplier[out_channel], output_shift[out_channel]); in ConvPerChannel()
Ddepthwise_conv.h23 const DepthwiseParams& params, const int32* output_multiplier, in DepthwiseConvPerChannel() argument
109 acc, output_multiplier[output_channel], in DepthwiseConvPerChannel()
Dmul.h33 params.output_multiplier, in MulElementwise()
115 input1_val * input2_val, params.output_multiplier, in BroadcastMul4DSlow()
Dadd.h51 raw_sum, params.output_multiplier, params.output_shift) + in AddElementwise()
128 raw_sum, params.output_multiplier, params.output_shift) + in BroadcastAdd4DSlow()
/external/tensorflow/tensorflow/lite/experimental/micro/kernels/
Dfully_connected.cc33 int32_t output_multiplier; member
60 QuantizeMultiplier(real_multiplier, &data->output_multiplier, &exponent); in CalculateOpData()
94 op_params.output_multiplier = data->output_multiplier; in EvalQuantized()
Ddepthwise_conv.cc42 int32_t output_multiplier; member
73 QuantizeMultiplier(real_multiplier, &data->output_multiplier, &exponent); in CalculateOpData()
145 op_params.output_multiplier = data->output_multiplier; in EvalQuantized()
/external/tensorflow/tensorflow/lite/kernels/internal/
Ddepthwiseconv_quantized_test.cc295 std::int32_t output_offset, std::int32_t output_multiplier, in TestOneDepthwiseConvWithGivenOutputShift() argument
316 op_params.output_multiplier = output_multiplier; in TestOneDepthwiseConvWithGivenOutputShift()
403 << " output_multiplier = " << op_params.output_multiplier in TestOneDepthwiseConvWithGivenOutputShift()
428 std::int32_t output_offset, std::int32_t output_multiplier, in TestOneDepthwiseConvBisectOutputShift() argument
439 pad_width, pad_height, depth_multiplier, output_offset, output_multiplier, in TestOneDepthwiseConvBisectOutputShift()
466 pad_width, pad_height, depth_multiplier, output_offset, output_multiplier, in TestOneDepthwiseConvBisectOutputShift()
478 std::int32_t output_offset, std::int32_t output_multiplier, in TestOneDepthwiseConv() argument
484 pad_width, pad_height, depth_multiplier, output_offset, output_multiplier, in TestOneDepthwiseConv()
512 const std::int32_t output_multiplier = in TryTestDepthwiseConv() local
545 pad_height, depth_multiplier, output_offset, output_multiplier, in TryTestDepthwiseConv()
Dtypes.h728 int32 output_multiplier; member
790 int32 output_multiplier; member
817 int32 output_multiplier; member
843 int32 output_multiplier; member
911 int32 output_multiplier; member
/external/tensorflow/tensorflow/lite/kernels/
Dfully_connected.cc51 int32_t output_multiplier; member
125 QuantizeMultiplier(real_multiplier, &data->output_multiplier, &exponent); in Prepare()
300 op_params.output_multiplier = data->output_multiplier; in FullyConnectedInt8()
329 op_params.output_multiplier = data->output_multiplier; \ in EvalQuantized()
408 op_params.output_multiplier = data->output_multiplier; \ in EvalShuffledQuantized()
Dmul.cc49 int32_t output_multiplier; member
102 real_multiplier, &data->output_multiplier, &data->output_shift); in Prepare()
169 op_params.output_multiplier = data->output_multiplier; in EvalQuantized()
Dadd.cc54 int32 output_multiplier; member
119 real_output_multiplier, &data->output_multiplier, &data->output_shift); in Prepare()
238 op_params.output_multiplier = data->output_multiplier; in EvalAddQuantized()
Ddepthwise_conv.cc56 int32_t output_multiplier; member
174 &data->output_multiplier, &data->output_shift, in Prepare()
256 op_params.output_multiplier = data->output_multiplier; in EvalQuantized()
Dsub.cc55 int32 output_multiplier; member
130 &op_params->output_multiplier, in Prepare8BitSubOp()
286 op_params.output_multiplier = data->output_multiplier; in EvalQuantized()
Dconv.cc70 int32_t output_multiplier; member
321 &data->output_multiplier, &data->output_shift, in Prepare()
456 op_params.output_multiplier = data->output_multiplier; in EvalQuantized()
483 op_params.output_multiplier = data->output_multiplier; in EvalQuantized()
/external/tensorflow/tensorflow/lite/experimental/micro/kernels/portable_optimized/
Ddepthwise_conv.cc45 int32_t output_multiplier; member
76 QuantizeMultiplier(real_multiplier, &data->output_multiplier, &exponent); in CalculateOpData()
111 const int32 output_multiplier = params.output_multiplier; in DepthwiseConvOptimizedForFilterWidthEight() local
260 acc, output_multiplier, output_shift); in DepthwiseConvOptimizedForFilterWidthEight()
336 op_params.output_multiplier = data->output_multiplier; in EvalQuantized()
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/optimized/
Doptimized_ops.h966 int32 output_multiplier, int output_shift, int32 output_activation_min, in FullyConnectedAsGEMV() argument
1095 reduced = vqrdmulhq_n_s32(reduced, output_multiplier); in FullyConnectedAsGEMV()
1098 reduced = vqrdmulhq_n_s32(reduced, output_multiplier); in FullyConnectedAsGEMV()
1130 int32 output_offset, int32 output_multiplier, in MakeExp()
1138 quantize_down_stage.result_fixedpoint_multiplier = output_multiplier; in MakeExp()
1159 const int32 output_multiplier = params.output_multiplier; in FullyConnected() local
1179 filter_offset, bias_shape, bias_data, output_offset, output_multiplier, in FullyConnected()
1198 bias_data, output_rows, output_offset, output_multiplier, output_shift, in FullyConnected()
1212 int32 output_offset, int32 output_multiplier, in FullyConnected() argument
1221 op_params.output_multiplier = output_multiplier; in FullyConnected()
[all …]

12