Skip to content

Commit d27ca2a

Browse files
committed
fix format
1 parent 691654f commit d27ca2a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

paddle/fluid/pir/transforms/onednn/cpu_bfloat16_squash_pass.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,8 @@ class CastBf16SquashPattern : public pir::OpRewritePattern<OpType> {
443443
cast_attributes["dtype"] = new_dtype;
444444
}
445445
if (with_q) {
446-
new_cast = rewriter.Build<OpType>(pre_op->operand_source(0), cast_attributes);
446+
new_cast =
447+
rewriter.Build<OpType>(pre_op->operand_source(0), cast_attributes);
447448
if (with_dq) {
448449
rewriter.ReplaceAllUsesWith(next_op->result(0), new_cast->result(0));
449450
rewriter.EraseOp(next_op);

0 commit comments

Comments
 (0)