Class StringImm
Defined in File value.h
Inheritance Relationships
Base Type
public mindspore::Value
Class Documentation
-
class StringImm : public mindspore::Value
StringImm defines a Value class whose type is String.
Public Functions
-
inline explicit StringImm(const std::string &str)
Constructor of StringImm.
- Parameters
str – [in] Define the string.
-
~StringImm() override = default
Destructor of ValueDictionary.
-
abstract::AbstractBasePtr ToAbstract() override
Get abstract of the StringImm object.
- Returns
The abstract of the StringImm object.
-
inline virtual std::string ToString() const override
Show the StringImm object.
- Returns
The description of the StringImm object.
-
inline virtual std::string DumpText() const override
Show the StringImm object DumpText.
- Returns
The description of the StringImm object.
-
inline explicit StringImm(const std::string &str)