Class ValueNode

Inheritance Relationships

Base Type

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.