We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a9cf3c commit 79d4418Copy full SHA for 79d4418
src/Dialect/ONNX/Transforms/Recompose.cpp
@@ -395,8 +395,8 @@ struct RecomposeGeluFromMulPattern : public OpRewritePattern<ONNXMulOp> {
395
// Two associative cases depending on which Mul 0.5 belongs to:
396
// - 0.5 * (a * b)
397
// - (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.
+ // For each case, we have four communitive cases: 2 for the outer Mul and 2
+ // for the inner Mul. In total, we handle 8 cases.
400
Value lhs = mulOp.getOperand(0);
401
Value rhs = mulOp.getOperand(1);
402
0 commit comments