Home
last modified time | relevance | path

Searched refs:output_shift (Results 1 – 5 of 5) sorted by relevance

/frameworks/ml/nn/common/
DQuantUtils.h79 int32_t* output_inv_sqrt, int* output_shift) { in GetInvSqrtQuantizedMultiplierExp() argument
88 *output_shift = 0; in GetInvSqrtQuantizedMultiplierExp()
92 *output_shift = 11; in GetInvSqrtQuantizedMultiplierExp()
95 ++*output_shift; in GetInvSqrtQuantizedMultiplierExp()
100 *output_shift -= left_shift_bit_pairs; in GetInvSqrtQuantizedMultiplierExp()
127 if (*output_shift < 0) { in GetInvSqrtQuantizedMultiplierExp()
128 *output_inv_sqrt <<= -*output_shift; in GetInvSqrtQuantizedMultiplierExp()
129 *output_shift = 0; in GetInvSqrtQuantizedMultiplierExp()
132 *output_shift *= reverse_shift; in GetInvSqrtQuantizedMultiplierExp()
/frameworks/ml/nn/common/operations/
DBroadcast.cpp151 int32_t output_shift; in addQuant8() local
153 &output_shift)); in addQuant8()
176 op_params.output_shift = output_shift; in addQuant8()
275 int output_shift; in mulQuant8() local
277 &output_shift)); in mulQuant8()
295 op_params.output_shift = output_shift; in mulQuant8()
363 int32_t output_shift; in subQuant8() local
365 &output_shift)); in subQuant8()
388 op_params.output_shift = output_shift; in subQuant8()
DDepthwiseConv2D.cpp204 int32_t output_shift = 0; in depthwiseConvNhwc() local
212 output_shift = -exponent; in depthwiseConvNhwc()
228 .output_shift = -output_shift, in depthwiseConvNhwc()
DConv2D.cpp238 int32_t output_shift = 0; in convNhwc() local
246 output_shift = -exponent; in convNhwc()
267 paddingHeight, outputOffset, output_multiplier, output_shift, in convNhwc()
DFullyConnected.cpp170 params.output_shift = outputShift; in fullyConnectedQuant8()