File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
mlir/include/mlir/Dialect/Shape/Transforms Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ def OutlineShapeComputationPass
1616 let summary = "Using shape.func to preserve shape computation";
1717 let description = [{
1818 This pass outlines the shape computation part in high level IR by adding
19- shape.func and populate corresponding mapping infoemation into
19+ shape.func and populate corresponding mapping information into
2020 ShapeMappingAnalysis. The shape computation part is usually introduced by
2121 shape reification, and each single dynamic shape is denoted by shape.with_shape.
2222
@@ -80,12 +80,12 @@ def OutlineShapeComputationPass
8080
8181 For the above example, the shape computation is inlined in the input IR,
8282 which is used for two values' (test.abs and test.concat) shape. And the shape
83- compuatation part is outlined in the output IR.
83+ computation part is outlined in the output IR.
8484
85- And the shape mapping infomation will be:
85+ And the shape mapping information will be:
8686
8787 ```
88- // ---- Shape Mapping Infomation -----
88+ // ---- Shape Mapping Information -----
8989 // - Shape for: %0 = "test.abs"(%arg0) : (tensor<?x4x?xf32>) -> tensor<?x4x?xf32> :: @shape_cal_0(<block argument> of type 'tensor<?x4x?xf32>' at index: 0)
9090 // - Shape for: %1 = "test.concat"(%0, %arg1) {axis = 0 : i64} : (tensor<?x4x?xf32>, tensor<2x4x?xf32>) -> tensor<?x4x?xf32> :: @shape_cal_1(<block argument> of type 'tensor<?x4x?xf32>' at index: 0)
9191 ```
You can’t perform that action at this time.
0 commit comments