Function mindspore::api::IsPrimitiveCNode
Defined in File anf.h
Function Documentation
-
bool mindspore::api::IsPrimitiveCNode(const AnfNodePtr &node, const PrimitivePtr &prim = nullptr)
Check whether the given node is a cnode with the given Primitive as the first input.