[Mlir-commits] [mlir] 6e0aaaf - [MLIR][NFC] fix RankedTensorType doc comment
Uday Bondhugula
llvmlistbot at llvm.org
Thu Mar 19 03:03:00 PDT 2020
Author: Uday Bondhugula
Date: 2020-03-19T15:32:13+05:30
New Revision: 6e0aaafbc782bdd2852a48c87a3f6cc8fa667bee
URL: https://github.com/llvm/llvm-project/commit/6e0aaafbc782bdd2852a48c87a3f6cc8fa667bee
DIFF: https://github.com/llvm/llvm-project/commit/6e0aaafbc782bdd2852a48c87a3f6cc8fa667bee.diff
LOG: [MLIR][NFC] fix RankedTensorType doc comment
Ranked tensor types can have shape dimension size 0
Signed-off-by: Uday Bondhugula <uday at polymagelabs.com>
Differential Revision: https://reviews.llvm.org/D76405
Added:
Modified:
mlir/include/mlir/IR/StandardTypes.h
Removed:
################################################################################
diff --git a/mlir/include/mlir/IR/StandardTypes.h b/mlir/include/mlir/IR/StandardTypes.h
index d1c31acb0a51..fb1ec07ab5ff 100644
--- a/mlir/include/mlir/IR/StandardTypes.h
+++ b/mlir/include/mlir/IR/StandardTypes.h
@@ -342,8 +342,8 @@ class TensorType : public ShapedType {
};
/// 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> {
More information about the Mlir-commits
mailing list