fix code check error

pull/6045/head
Yi Huaijie 5 years ago
parent 5247fe7315
commit 0d478130f6

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

@ -2619,8 +2619,8 @@ ParameterUsersInfo FindRefKeyNodeUsers(const RefKeyPair &ref_key_pair, bool (*Is
ParameterUsersInfo FindParameterUsers(const AnfNodePtr &node, bool (*IsCareNode)(const CNodePtr &)) { ParameterUsersInfo FindParameterUsers(const AnfNodePtr &node, bool (*IsCareNode)(const CNodePtr &)) {
ParameterUsersInfo parameter_users_info; ParameterUsersInfo parameter_users_info;
auto cnode_with_refkeys = CNodeWithRefKeys(node);
auto cnode_with_refkeys = CNodeWithRefKeys(node);
if (cnode_with_refkeys.first != nullptr) { if (cnode_with_refkeys.first != nullptr) {
// the node is a ref key node // the node is a ref key node
return FindRefKeyNodeUsers(cnode_with_refkeys, IsCareNode); return FindRefKeyNodeUsers(cnode_with_refkeys, IsCareNode);

Loading…
Cancel
Save