Class AbstractError
Defined in File abstract_value.h
Inheritance Relationships
Base Type
public mindspore::abstract::AbstractBase
(Class AbstractBase)
Class Documentation
-
class AbstractError : public mindspore::abstract::AbstractBase
Class AbstractError describes the abstract value from an error.
Public Functions
-
inline AbstractError(const StringImmPtr &err, const AnfNodePtr &node)
Constructor of AbstractError.
- Parameters
err – [in] the error string.
node – [in] the binding anf node.
-
~AbstractError() override = default
Destructor of AbstractError.
-
inline virtual AbstractBasePtr Broaden() const override
Broaden the abstract. It will upgrade the abstract to a higher level.
- Returns
A pointer to the broadened abstract.
-
inline virtual AbstractBasePtr Clone() const override
Clone an abstract from the abstract.
- Returns
A pointer to the cloned abstract.
-
virtual std::string ToString() const override
Get the string representation of this object.
- Returns
The string representation.
-
inline AbstractError(const StringImmPtr &err, const AnfNodePtr &node)