[Mlir-commits] [mlir] 2cda4f8 - [mlir] Fix syntax example for tensor.from_elements
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Fri Sep 17 17:23:14 PDT 2021
Author: Geoffrey Martin-Noble
Date: 2021-09-17T17:23:11-07:00
New Revision: 2cda4f8ed798ecf061965b54976e427459514763
URL: https://github.com/llvm/llvm-project/commit/2cda4f8ed798ecf061965b54976e427459514763
DIFF: https://github.com/llvm/llvm-project/commit/2cda4f8ed798ecf061965b54976e427459514763.diff
LOG: [mlir] Fix syntax example for tensor.from_elements
Parens are not used here
Added:
Modified:
mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td b/mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
index 74cc3618f304d..78755c898835a 100644
--- a/mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
+++ b/mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
@@ -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>
```
}];
More information about the Mlir-commits
mailing list