projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0b11f5
)
Fix typo
author
MLIR Team
<no-reply@google.com>
Tue, 15 Oct 2019 22:44:56 +0000
(15:44 -0700)
committer
A. 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
patch
|
blob
|
history
diff --git
a/mlir/g3doc/Tutorials/Toy/Ch-3.md
b/mlir/g3doc/Tutorials/Toy/Ch-3.md
index
2118f29
..
5f72e51
100644
(file)
--- a/
mlir/g3doc/Tutorials/Toy/Ch-3.md
+++ b/
mlir/g3doc/Tutorials/Toy/Ch-3.md
@@
-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