We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 691654f commit d27ca2aCopy full SHA for d27ca2a
paddle/fluid/pir/transforms/onednn/cpu_bfloat16_squash_pass.cc
@@ -443,7 +443,8 @@ class CastBf16SquashPattern : public pir::OpRewritePattern<OpType> {
443
cast_attributes["dtype"] = new_dtype;
444
}
445
if (with_q) {
446
- new_cast = rewriter.Build<OpType>(pre_op->operand_source(0), cast_attributes);
+ new_cast =
447
+ rewriter.Build<OpType>(pre_op->operand_source(0), cast_attributes);
448
if (with_dq) {
449
rewriter.ReplaceAllUsesWith(next_op->result(0), new_cast->result(0));
450
rewriter.EraseOp(next_op);
0 commit comments