!9379 fix too many warning print

From: @liubuyu
Reviewed-by: @jjfeing,@kisnwang
Signed-off-by: @kisnwang
pull/9379/MERGE
mindspore-ci-bot 4 years ago committed by Gitee
commit 5bf331e30a

@ -1490,7 +1490,7 @@ bool IsNodeInputDynamicShape(const CNodePtr &anf_node_ptr) {
bool AnfRuntimeAlgorithm::IsNodeDynamicShape(const AnfNodePtr &node) {
MS_EXCEPTION_IF_NULL(node);
if (!node->isa<CNode>()) {
MS_LOG(WARNING) << "Node is not a cnode";
MS_LOG(DEBUG) << "Node is not a cnode";
return false;
}
auto cnode = node->cast<CNodePtr>();

Loading…
Cancel
Save