Class StringImm
Defined in File value.h
Inheritance Relationships
Base Type
public mindspore::api::Value
(Class Value)
Class Documentation
-
class StringImm : public mindspore::api::Value
StringImm defines a Value whose type is string.
Public Functions
-
explicit StringImm(const std::string &str)
Create StringImm with the given string.
- Parameters
str – [in] The given string value.
-
const std::string &value() const
Get the string value of this StringImm.
- Returns
The string value of this StringImm.
-
explicit StringImm(const std::string &str)