projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f7483b
)
[mlir] Fix syntax example for tensor.from_elements
author
Geoffrey Martin-Noble
<gcmn@google.com>
Sat, 18 Sep 2021 00:23:11 +0000
(17:23 -0700)
committer
GitHub
<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
patch
|
blob
|
history
diff --git
a/mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
b/mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
index
74cc361
..
78755c8
100644
(file)
--- 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>
```
}];