Browse Source

!6045 fix code check warnings

Merge pull request !6045 from yihuaijie/master
tags/v1.0.0
mindspore-ci-bot Gitee 5 years ago
parent
commit
4d84170eef
2 changed files with 1 additions and 2 deletions
  1. +0
    -1
      mindspore/ccsrc/frontend/parallel/ops_info/elementary_function_info.h
  2. +1
    -1
      mindspore/ccsrc/frontend/parallel/step_parallel.cc

+ 0
- 1
mindspore/ccsrc/frontend/parallel/ops_info/elementary_function_info.h View File

@@ -258,7 +258,6 @@ class BesselI1eInfo : public ActivationOther {
: ActivationOther(name, inputs_shape, outputs_shape, attrs) {}
~BesselI1eInfo() override = default;
};

} // namespace parallel
} // namespace mindspore



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

@@ -2619,8 +2619,8 @@ ParameterUsersInfo FindRefKeyNodeUsers(const RefKeyPair &ref_key_pair, bool (*Is

ParameterUsersInfo FindParameterUsers(const AnfNodePtr &node, bool (*IsCareNode)(const CNodePtr &)) {
ParameterUsersInfo parameter_users_info;
auto cnode_with_refkeys = CNodeWithRefKeys(node);

auto cnode_with_refkeys = CNodeWithRefKeys(node);
if (cnode_with_refkeys.first != nullptr) {
// the node is a ref key node
return FindRefKeyNodeUsers(cnode_with_refkeys, IsCareNode);


Loading…
Cancel
Save