Template Function mindspore::api::NewValueNode
Defined in File anf.h
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.