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.

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.