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:
97d00b7
)
[mlir][tensor] Fix a typo in the example code for UnrankedTensorType
author
Peiming Liu
<peiming@google.com>
Tue, 6 Sep 2022 22:25:41 +0000
(22:25 +0000)
committer
Peiming Liu
<peiming@google.com>
Tue, 6 Sep 2022 22:31:47 +0000
(22:31 +0000)
The syntax for unrank tensor type is defined as tensor-type ::= `tensor` `<` `*` `x` type `>`, the example code missed the `x` in between.
Reviewed By: aartbik
Differential Revision: https://reviews.llvm.org/D133381
mlir/include/mlir/IR/BuiltinTypes.td
patch
|
blob
|
history
diff --git
a/mlir/include/mlir/IR/BuiltinTypes.td
b/mlir/include/mlir/IR/BuiltinTypes.td
index
55dc241
..
aaadc1f
100644
(file)
--- a/
mlir/include/mlir/IR/BuiltinTypes.td
+++ b/
mlir/include/mlir/IR/BuiltinTypes.td
@@
-875,7
+875,7
@@
def Builtin_UnrankedTensor : Builtin_Type<"UnrankedTensor", [
Examples:
```mlir
- tensor<*f32>
+ tensor<*
x
f32>
```
}];
let parameters = (ins "Type":$elementType);