Class NoShape
Defined in File dshape.h
Inheritance Relationships
Base Type
public mindspore::abstract::BaseShape
(Class BaseShape)
Class Documentation
-
class NoShape : public mindspore::abstract::BaseShape
NoShape defines an invalid shape.
Public Functions
-
inline virtual std::string ToString() const override
Get the description string about the NoShape object.
- Returns
The description string about the NoShape object.
-
inline virtual bool IsDynamic() const override
Whether the object’s dimensions are dynamic.
- Returns
True if the object’s dimensions are dynamic, otherwise false.
-
inline virtual bool IsDimZero() const override
Whether the object’s dimension is zero.
- Returns
True if the object’s dimension is zero, otherwise false.
-
inline virtual bool IsDimUnknown() const override
Whether the object’s dimensions are unknown.
- Returns
True if the object’s dimensions are unknown, otherwise false.
-
inline virtual std::string ToString() const override