[PATCH] D76405: [MLIR] fix RankedTensorType doc comment
Uday Bondhugula via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 18 21:09:18 PDT 2020
bondhugula created this revision.
bondhugula added a reviewer: silvas.
Herald added subscribers: llvm-commits, Joonsoo, liufengdb, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen, burmako, jpienaar, rriddle, mehdi_amini.
Herald added a reviewer: rriddle.
Herald added a project: LLVM.
bondhugula updated this revision to Diff 251260.
bondhugula added a comment.
bondhugula updated this revision to Diff 251262.
bondhugula edited the summary of this revision.
Mark commit NFC
bondhugula added a comment.
Add commit summary
Ranked tensor types can have shape dimension size 0
Signed-off-by: Uday Bondhugula <uday at polymagelabs.com>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D76405
Files:
mlir/include/mlir/IR/StandardTypes.h
Index: mlir/include/mlir/IR/StandardTypes.h
===================================================================
--- mlir/include/mlir/IR/StandardTypes.h
+++ mlir/include/mlir/IR/StandardTypes.h
@@ -342,8 +342,8 @@
};
/// Ranked tensor types represent multi-dimensional arrays that have a shape
-/// with a fixed number of dimensions. Each shape element can be a positive
-/// integer or unknown (represented -1).
+/// with a fixed number of dimensions. Each shape element can be a non-negative
+/// integer or unknown (represented by -1).
class RankedTensorType
: public Type::TypeBase<RankedTensorType, TensorType,
detail::RankedTensorTypeStorage> {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76405.251262.patch
Type: text/x-patch
Size: 690 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200319/471ab36b/attachment-0001.bin>
More information about the llvm-commits
mailing list