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.

Parameters

node[in] The node to be checked.

Returns

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