Skip to content

Commit 94dbe5e

Browse files
authored
[mlir][tosa] Remove extra whitespace in the PadOp example (llvm#134113)
Trivial cleanup change. Signed-off-by: Jerry Ge <[email protected]>
1 parent 18c43d0 commit 94dbe5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1906,15 +1906,15 @@ def Tosa_PadOp : Tosa_InferShapedTypeOp<"pad"> {
19061906

19071907
```mlir
19081908
%pad_const = "tosa.const"() {values = dense<3.14> : tensor<1xf32>} : () -> tensor<1xf32>
1909-
%padding = tosa.const_shape {values = dense<[1, 2, 3, 4]> : tensor<4xindex> } : () -> !tosa.shape<4>
1909+
%padding = tosa.const_shape {values = dense<[1, 2, 3, 4]> : tensor<4xindex>} : () -> !tosa.shape<4>
19101910
tosa.pad %arg0, %padding, %pad_const: (tensor<1x2xf32>, !tosa.shape<4>, tensor<1xf32>) -> (tensor<4x9xf32>)
19111911
```
19121912

19131913
Example 2:
19141914

19151915
```mlir
19161916
%pad_const = "tosa.const"() {values = dense<3.14> : tensor<1xf32>} : () -> tensor<1xf32>
1917-
%padding = tosa.const_shape {values = dense<[-1, 2, 3, 4]> : tensor<4xindex> } : () -> !tosa.shape<4>
1917+
%padding = tosa.const_shape {values = dense<[-1, 2, 3, 4]> : tensor<4xindex>} : () -> !tosa.shape<4>
19181918
tosa.pad %arg0, %padding, %pad_const : (tensor<1x2xf32>, !tosa.shape<4>, tensor<1xf32>) -> (tensor<?x9xf32>)
19191919
```
19201920
}];

0 commit comments

Comments
 (0)