Class ValueNode
Defined in File anf.h
Inheritance Relationships
Base Type
public mindspore::api::AnfNode
(Class AnfNode)
Class Documentation
-
class ValueNode : public mindspore::api::AnfNode
ValueNode is a graph node that hold a value.
Public Functions
-
explicit ValueNode(const ValuePtr &value)
Create ValueNode with the given value.
- Parameters
value – [in] The value of this ValueNode.
-
ValuePtr value() const
Get the value of this ValueNode.
- Returns
The value.
-
explicit ValueNode(const ValuePtr &value)