Searched refs:output_qtype (Results 1 – 3 of 3) sorted by relevance
205 UniformQuantizedType output_qtype = in matchAndRewrite() local209 clamp_min = output_qtype.getZeroPoint(); in matchAndRewrite()212 input_qtype.getScale() / output_qtype.getScale(), in matchAndRewrite()213 input_qtype.getZeroPoint(), output_qtype.getZeroPoint(), in matchAndRewrite()256 UniformQuantizedType output_qtype = in matchAndRewrite() local260 clamp_min = output_qtype.getZeroPoint() - in matchAndRewrite()261 std::llround(1.0f / output_qtype.getScale()); in matchAndRewrite()263 clamp_max = std::llround(1.0f / output_qtype.getScale()) + in matchAndRewrite()264 output_qtype.getZeroPoint(); in matchAndRewrite()268 input_qtype.getScale() / output_qtype.getScale(), in matchAndRewrite()[all …]
88 auto output_qtype = output_type.getElementType() in buildRescaleOpConvOutput() local93 int64_t output_zp = output_qtype.getZeroPoint(); in buildRescaleOpConvOutput()94 double output_scale = output_qtype.getScale(); in buildRescaleOpConvOutput()96 bool scale32 = isScale32(output_qtype); in buildRescaleOpConvOutput()134 int64_t output_zp = output_qtype.getZeroPoint(); in buildRescaleOpConvOutput()135 double output_scale = output_qtype.getScale(); in buildRescaleOpConvOutput()
508 auto output_qtype = in convertMultiplyOp() local515 float output_scale = output_qtype.getScale(); in convertMultiplyOp()531 output_rescale_scale, 0, output_qtype.getZeroPoint(), in convertMultiplyOp()2845 auto output_qtype = in convertReduceSumOp() local2853 1.0 / (output_qtype.getScale() * static_cast<double>(1 << input_shift)); in convertReduceSumOp()2856 output_zp = output_qtype.getZeroPoint(); in convertReduceSumOp()2917 auto output_qtype = in convertReduceMeanOp() local2921 output_scale = div_scale * input_qtype.getScale() / output_qtype.getScale(); in convertReduceMeanOp()2924 output_zp = output_qtype.getZeroPoint(); in convertReduceMeanOp()