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