Template Function mindspore::api::NewValueNode

Function Documentation

template<typename T>
inline ValueNodePtr mindspore::api::NewValueNode(T value)

Create a ValueNode with the given primitive type value.

Parameters

value[in] The given primitive type value.

Returns

The created ValueNode.