Function mindspore::api::IsDataNode

Function Documentation

bool mindspore::api::IsDataNode(const AnfNodePtr &node)

Check if a node is a data node. Some nodes may be used internally to pass some non-data states, those nodes are not data nodes.

参数

node[in] The node to be checked.

返回

True if the node is a data node, false otherwise.