Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/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()
/packages/modules/NeuralNetworks/common/operations/
DBroadcast.cpp154 int32_t output_shift; in addQuant8() local
156 &output_shift)); in addQuant8()
179 op_params.output_shift = output_shift; in addQuant8()
278 int output_shift; in mulQuant8() local
280 &output_shift)); in mulQuant8()
298 op_params.output_shift = output_shift; in mulQuant8()
366 int32_t output_shift; in subQuant8() local
368 &output_shift)); in subQuant8()
391 op_params.output_shift = output_shift; in subQuant8()
DDepthwiseConv2D.cpp206 int32_t output_shift = 0; in depthwiseConvNhwc() local
214 output_shift = -exponent; in depthwiseConvNhwc()
230 .output_shift = -output_shift, in depthwiseConvNhwc()
DConv2D.cpp239 int32_t output_shift = 0; in convNhwc() local
247 output_shift = -exponent; in convNhwc()
268 paddingHeight, outputOffset, output_multiplier, output_shift, in convNhwc()
DFullyConnected.cpp171 params.output_shift = outputShift; in fullyConnectedQuant8()