Function mindspore::api::IsPrimitive
Defined in File anf.h
Function Documentation
-
bool mindspore::api::IsPrimitive(const AnfNodePtr &node, const PrimitivePtr &prim)
Check whether the given node is a ValueNode with the given Primitive.
Defined in File anf.h
Check whether the given node is a ValueNode with the given Primitive.