fix code check error

This commit is contained in:
Yi Huaijie 2020-09-11 11:33:42 +08:00
parent 5247fe7315
commit 0d478130f6
2 changed files with 1 additions and 2 deletions

View File

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

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);