!12332 Call CheckNoStackInSameFuncGraph() to check abnormal infer status.

From: @zh_qh
Reviewed-by: @hwhewei
Signed-off-by:
pull/12332/MERGE
mindspore-ci-bot 4 years ago committed by Gitee
commit 83edc65441

@ -179,7 +179,7 @@ EvalResultPtr AnalysisEngine::Eval(const AnfNodeConfigPtr &conf) {
auto abstract = EvalValueNode(value_node, conf);
eval_result = std::make_shared<EvalResult>(abstract, std::make_shared<AttrValueMap>());
} else if (node->isa<CNode>()) {
// CheckNoStackInSameFuncGraph(conf);
CheckNoStackInSameFuncGraph(conf);
auto cnode = node->cast<CNodePtr>();
trace::TraceEvalCNodeEnter(conf);
eval_result = EvalCNode(cnode, conf);

Loading…
Cancel
Save