Class ValueList
Defined in File value.h
Inheritance Relationships
Base Type
public mindspore::ValueSequence
(Class ValueSequence)
Class Documentation
-
class ValueList : public mindspore::ValueSequence
ValueList defines a Value class whose type is List.
Public Functions
-
inline explicit ValueList(const std::vector<ValuePtr> &elements)
Constructor of ValueList.
- Parameters
elements – [in] Define the elements of the object.
-
inline ValueList(const std::initializer_list<ValuePtr> &elements)
Constructor of ValueList.
- Parameters
elements – [in] Define the elements of the object.
-
~ValueList() override = default
Destructor of ValueList.
- inline virtual MS_DECLARE_PARENT(ValueList, ValueSequence) override std::string DumpText () const override
Get abstract of the ValueList object.
Show each element DumpText.
- Returns
The abstract of the ValueList object.
- Returns
The description of the ValueList object.
-
inline virtual std::string ToString() const override
Show each element ToString.
- Returns
The description of the ValueList object.
-
inline explicit ValueList(const std::vector<ValuePtr> &elements)