From f89ba2c83a8393689502d1b2e60b6f0ca09ca539 Mon Sep 17 00:00:00 2001 From: isaactalx Date: Thu, 4 Feb 2021 22:33:53 +0800 Subject: [PATCH] node_status bugfix --- ge/hybrid/executor/node_state.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ge/hybrid/executor/node_state.cc b/ge/hybrid/executor/node_state.cc index 0b9dc1d4..3ec967d3 100644 --- a/ge/hybrid/executor/node_state.cc +++ b/ge/hybrid/executor/node_state.cc @@ -36,11 +36,11 @@ ShapeInferenceState::ShapeInferenceState(const NodeItem &node_item) : node_item( this->num_pending_shapes_); for (int i = 0; i < node_item.num_inputs; ++i){ - input_tensor_desc.emplace_back(std::move(*node_item.MutableInputDesc(i))); + input_tensor_desc.emplace_back(*node_item.MutableInputDesc(i)); } for (int i = 0; i < node_item.num_outputs; ++i){ - output_tensor_desc.emplace_back(std::move(*node_item.MutableOutputDesc(i))); + output_tensor_desc.emplace_back(*node_item.MutableOutputDesc(i)); } }