[mlir] Fix syntax example for tensor.from_elements
authorGeoffrey Martin-Noble <gcmn@google.com>
Sat, 18 Sep 2021 00:23:11 +0000 (17:23 -0700)
committerGitHub <noreply@github.com>
Sat, 18 Sep 2021 00:23:11 +0000 (17:23 -0700)
Parens are not used here

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

index 74cc361..78755c8 100644 (file)
@@ -308,7 +308,7 @@ def Tensor_FromElementsOp : Tensor_Op<"from_elements", [
     Example:
 
     ```mlir
-    tensor.from_elements(i_1, ..., i_N) :  tensor<Nxindex>
+    tensor.from_elements i_1, ..., i_N :  tensor<Nxindex>
     ```
   }];