Searched refs:in_zp_ (Results 1 – 11 of 11) sorted by relevance
190 int32_t tmp = inner_src[i * inner_size] - quant->in_zp_; in ReduceMeanInt8()199 if (isAddOverflow(mean, quant->in_zp_)) { in ReduceMeanInt8()202 *inner_dst = mean + quant->in_zp_; in ReduceMeanInt8()224 int32_t tmp = inner_src[i * inner_size] - quant->in_zp_; in ReduceMeanLastAxis()265 int32_t tmp = inner_src[i * inner_size] - quant->in_zp_; in ReduceSumInt8()272 if (isAddOverflow(quant->in_zp_, sum)) { in ReduceSumInt8()275 *inner_dst = sum + quant->in_zp_; in ReduceSumInt8()297 int32_t tmp = inner_src[i * inner_size] - quant->in_zp_; in ReduceSumLastAxis()340 …SaturatingRoundingDoublingHighMul((tmp - quant->in_zp_) * (1 << (unsigned int)quant->in_out_left_s… in ReduceMaxLastAxis()401 … (tmp - quant->in_zp_) * (1 << ((unsigned int)quant->in_out_left_shift_ + base_offset)), in ReduceMinLastAxis()[all …]
22 float fp32_src = (src[i] - quant->in_zp_) * quant->in_scale_; in LayerNormGammaAndBetaInt8()51 float float_src = (src_norm[j] - quant->in_zp_) * quant->in_scale_; in LayerNormInt8()
27 int32_t in_zp_; member
24 float fp32_src = (input_ptr[i] - quant->in_zp_) * quant->in_scale_; in TanhInt8()
140 int32_t in_zp_; member
43 int32_t in_zp_; member
28 tanh_quant_.in_zp_ = input->quant_params().front().zeroPoint; in Init()
55 quant_param_->in_zp_ = input->quant_params().front().zeroPoint; in SetQuantArgs()
213 bias_ = quant_arg_.out_zp_ - quant_arg_.in_zp_ * quant_arg_.in_scale_ / quant_arg_.out_scale_; in ReduceMean4DCalQuantParam()234 quant_arg_.in_zp_ = input->quant_params().front().zeroPoint; in CalculateQuantArgs()
30 quant_arg_.in_zp_ = input_quant.zeroPoint; in CalculateQuantArgs()
190 …"ReduceQuantArg", name, reduce_quant_arg.in_scale_, reduce_quant_arg.in_zp_, reduce_quant_arg.out_… in CodeStruct()