Class AbstractRefKey
Defined in File abstract_value.h
Inheritance Relationships
Base Type
public mindspore::abstract::AbstractBase
(Class AbstractBase)
Class Documentation
-
class AbstractRefKey : public mindspore::abstract::AbstractBase
Class AbstractRefKey describes a RefKey node’s abstract value.
Public Functions
-
inline AbstractRefKey()
Constructor of AbstractRefKey.
-
~AbstractRefKey() override = default
Destructor of AbstractRefKey.
-
inline virtual AbstractBasePtr Clone() const override
Clone an abstract from the abstract.
- Returns
A pointer to the cloned abstract.
-
inline RefKeyPtr ref_key_value() const
Get the ref key.
- Parameters
The – [in] pointer to RefKey.
-
virtual AbstractBasePtr Join(const AbstractBasePtr &other) override
Combine two abstracts. If two abstracts are different, it will broaden the abstract value.
- Parameters
other – [in] The other abstract to be joined.
- Returns
A pointer to the combined abstract.
-
virtual std::string ToString() const override
Get the string representation of this object.
- Returns
The string representation.
-
inline AbstractRefKey()