Searched refs:new_qtype (Results 1 – 3 of 3) sorted by relevance
403 QType new_qtype; in matchAndRewrite() local405 new_qtype = quant::UniformQuantizedType::getChecked( in matchAndRewrite()418 new_qtype = quant::UniformQuantizedPerAxisType::getChecked( in matchAndRewrite()427 if (!new_qtype) return failure(); in matchAndRewrite()428 Type new_output_type = new_qtype.castFromExpressedType( in matchAndRewrite()
591 auto new_qtype = RescaleQtype(q_op.qtype(), gamma_cst); in matchAndRewrite() local592 if (!new_qtype) return failure(); in matchAndRewrite()593 rewriter.replaceOpWithNewOp<TFL::QuantizeOp>(q_op, new_qtype.getValue(), in matchAndRewrite()594 new_filter, new_qtype); in matchAndRewrite()
880 mlir::quant::QuantizedType new_qtype; in PostProcessFuncOp() local883 new_qtype = mlir::quant::UniformQuantizedPerAxisType::get( in PostProcessFuncOp()890 new_qtype = mlir::quant::UniformQuantizedType::get( in PostProcessFuncOp()898 auto new_output_type = new_qtype.castFromExpressedType( in PostProcessFuncOp()