Skip to content

Commit

Permalink
[MLIR][NFC] fix RankedTensorType doc comment
Browse files Browse the repository at this point in the history
Ranked tensor types can have shape dimension size 0

Signed-off-by: Uday Bondhugula <uday@polymagelabs.com>

Differential Revision: https://reviews.llvm.org/D76405
  • Loading branch information
bondhugula committed Mar 19, 2020
1 parent 1d5560c commit 6e0aaaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mlir/include/mlir/IR/StandardTypes.h
Expand Up @@ -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> {
Expand Down

0 comments on commit 6e0aaaf

Please sign in to comment.