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.

参数

value[in] The given primitive type value.

返回

The created ValueNode.