Skip to content

Commit 79d4418

Browse files
committed
Edit comments
Signed-off-by: Tung D. Le <[email protected]>
1 parent 3a9cf3c commit 79d4418

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Dialect/ONNX/Transforms/Recompose.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,8 +395,8 @@ struct RecomposeGeluFromMulPattern : public OpRewritePattern<ONNXMulOp> {
395395
// Two associative cases depending on which Mul 0.5 belongs to:
396396
// - 0.5 * (a * b)
397397
// - (0.5 * a) * b
398-
// For each case, we have two communitive cases for the outer Mul (not count
399-
// the inner Mul). In total, we handle 4 cases.
398+
// For each case, we have four communitive cases: 2 for the outer Mul and 2
399+
// for the inner Mul. In total, we handle 8 cases.
400400
Value lhs = mulOp.getOperand(0);
401401
Value rhs = mulOp.getOperand(1);
402402

0 commit comments

Comments
 (0)