Searched refs:in_rhs_scale (Results 1 – 2 of 2) sorted by relevance
568 double in_rhs_scale = input_rhs_qtype.getScale(); in matchAndRewrite() local570 double max_scale_2x = 2.0 * std::max(in_lhs_scale, in_rhs_scale); in matchAndRewrite()578 static_cast<double>(1 << input_shift) * in_rhs_scale / max_scale_2x; in matchAndRewrite()665 double in_rhs_scale = input_rhs_qtype.getScale(); in matchAndRewrite() local667 double max_scale_2x = 2.0 * std::max(in_lhs_scale, in_rhs_scale); in matchAndRewrite()675 static_cast<double>(1 << input_shift) * in_rhs_scale / max_scale_2x; in matchAndRewrite()
479 double in_rhs_scale = input_rhs_qtype.getScale(); in convertMultiplyOp() local482 double output_rescale_scale = in_lhs_scale * in_rhs_scale / output_scale; in convertMultiplyOp()