Browse Source

fix some code-style warnings

tags/v0.3.0-alpha
Xiaoda Zhang 5 years ago
parent
commit
44186d7338
2 changed files with 0 additions and 2 deletions
  1. +0
    -1
      mindspore/ccsrc/parallel/step_parallel.cc
  2. +0
    -1
      mindspore/ccsrc/parallel/strategy_checkpoint/parallel_strategy_checkpoint.h

+ 0
- 1
mindspore/ccsrc/parallel/step_parallel.cc View File

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


+ 0
- 1
mindspore/ccsrc/parallel/strategy_checkpoint/parallel_strategy_checkpoint.h View File

@@ -25,7 +25,6 @@

namespace mindspore {
namespace parallel {

using StrategyMap = std::unordered_map<std::string, StrategyPtr>;
class StrategyCheckpoint {
public:


Loading…
Cancel
Save