提交 29eacb0f 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!1583 [Auto parallel] Add some edge-creating error information

Merge pull request !1583 from Xiaoda/add-error-info-in-edge-creating
......@@ -95,6 +95,11 @@ Status Edge::InitEdgeCost() {
<< " failed, it may be caused by setting 'elementwise_op_strategy_follow' true. "
"Try to set 'elementwise_op_strategy_follow' false.";
}
if (edge_name_.find(RESHAPE) != std::string::npos) {
MS_LOG(EXCEPTION) << "Generating cost for edge: " << edge_name_
<< " failed, it may be caused by setting different strategies for operators following Reshape. "
"Try to fix that.";
}
MS_LOG(EXCEPTION) << "Generating cost for edge: " << edge_name_ << " failed.";
}
return Status::SUCCESS;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册