Skip to content

Commit 179f01b

Browse files
authored
Fix MLIR Transform Tutorial Doc (#155285)
Fixes a small issue I noticed while reading through the tutorial.
1 parent 50f539c commit 179f01b

File tree

1 file changed

+1
-1
lines changed
  • mlir/docs/Tutorials/transform

1 file changed

+1
-1
lines changed

mlir/docs/Tutorials/transform/Ch0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ Furthermore, the operation now contains a region that explicitly specifies the m
134134

135135
## “Loop” Fusion
136136

137-
Since the region of the `linalg.generic` operation can contain arbitrarily many operations, we can use it to express “fusion” of the implicit loops by simply having more operations chained in the region. For example, the common machine learning rectified linear unit layer (ReLU), which can be defined as `relu(x) = max(0, x)`, can be defined be expressed using the “compare-and-select” idiom in one `linalg.generic` operation, without the temporary buffer for the comparison result and without repeating the outer operation:
137+
Since the region of the `linalg.generic` operation can contain arbitrarily many operations, we can use it to express “fusion” of the implicit loops by simply having more operations chained in the region. For example, the common machine learning rectified linear unit layer (ReLU), which can be defined as `relu(x) = max(0, x)`, can be expressed using the “compare-and-select” idiom in one `linalg.generic` operation, without the temporary buffer for the comparison result and without repeating the outer operation:
138138

139139
```mlir
140140
linalg.generic {

0 commit comments

Comments
 (0)