Fix typo
authorMLIR Team <no-reply@google.com>
Tue, 15 Oct 2019 22:44:56 +0000 (15:44 -0700)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Tue, 15 Oct 2019 22:45:28 +0000 (15:45 -0700)
PiperOrigin-RevId: 274905193

mlir/g3doc/Tutorials/Toy/Ch-3.md

index 2118f29..5f72e51 100644 (file)
@@ -74,7 +74,7 @@ the IR and replacing it with a different set of operations, we can plug into the
 MLIR `Canonicalizer` pass by implementing a `RewritePattern`:
 
 ```c++
-/// Fold transpose(transpose(x)) -> transpose(x)
+/// Fold transpose(transpose(x)) -> x
 struct SimplifyRedundantTranspose : public mlir::OpRewritePattern<TransposeOp> {
   /// We register this pattern to match every toy.transpose in the IR.
   /// The "benefit" is used by the framework to order the patterns and process