Class StringImm

Inheritance Relationships

Base Type

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.

参数

str[in] The given string value.

const std::string &value() const

Get the string value of this StringImm.

返回

The string value of this StringImm.