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.

参数

value[in] The value of this ValueNode.

ValuePtr value() const

Get the value of this ValueNode.

返回

The value.