Searched refs:in_lhs_scale (Results 1 – 2 of 2) sorted by relevance
567 double in_lhs_scale = input_lhs_qtype.getScale(); in matchAndRewrite() local570 double max_scale_2x = 2.0 * std::max(in_lhs_scale, in_rhs_scale); in matchAndRewrite()576 static_cast<double>(1 << input_shift) * in_lhs_scale / max_scale_2x; in matchAndRewrite()664 double in_lhs_scale = input_lhs_qtype.getScale(); in matchAndRewrite() local667 double max_scale_2x = 2.0 * std::max(in_lhs_scale, in_rhs_scale); in matchAndRewrite()673 static_cast<double>(1 << input_shift) * in_lhs_scale / max_scale_2x; in matchAndRewrite()
478 double in_lhs_scale = input_lhs_qtype.getScale(); in convertMultiplyOp() local482 double output_rescale_scale = in_lhs_scale * in_rhs_scale / output_scale; in convertMultiplyOp()