Skip to content

Commit 2cda4f8

Browse files
authored
[mlir] Fix syntax example for tensor.from_elements
Parens are not used here
1 parent 6f7483b commit 2cda4f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ def Tensor_FromElementsOp : Tensor_Op<"from_elements", [
308308
Example:
309309

310310
```mlir
311-
tensor.from_elements(i_1, ..., i_N) : tensor<Nxindex>
311+
tensor.from_elements i_1, ..., i_N : tensor<Nxindex>
312312
```
313313
}];
314314

0 commit comments

Comments
 (0)