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

!860 [Auto parallel] Fix some code-style warnings

Merge pull request !860 from Xiaoda/fix_some_codestyle_warnings
......@@ -1427,7 +1427,6 @@ void ExtractInformation(const std::vector<AnfNodePtr> &all_nodes) {
std::string strategy_key_name = cnode->scope()->name() + std::string(CONNSYMBOL) + instance_name;
bool load_strategy_from_ckpt =
StrategyCheckpoint::GetInstance().LoadCheckPointOn() && stra_map.find(strategy_key_name) != stra_map.end();
if (!StrategyFound(attrs) && !load_strategy_from_ckpt) {
MS_LOG(INFO) << "ExtractInformation: the strategy of node " << node->ToString() << " prim " << prim->name()
<< " is empty, using batch parallel";
......
......@@ -25,7 +25,6 @@
namespace mindspore {
namespace parallel {
using StrategyMap = std::unordered_map<std::string, StrategyPtr>;
class StrategyCheckpoint {
public:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册