Browse Source

!9379 fix too many warning print

From: @liubuyu
Reviewed-by: @jjfeing,@kisnwang
Signed-off-by: @kisnwang
tags/v1.1.0
mindspore-ci-bot Gitee 5 years ago
parent
commit
5bf331e30a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindspore/ccsrc/backend/session/anf_runtime_algorithm.cc

+ 1
- 1
mindspore/ccsrc/backend/session/anf_runtime_algorithm.cc View File

@@ -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