!386 Fix compile warning

From: @zhangxiaokun9
Reviewed-by: @xchu42,@wqtshg
Signed-off-by: @wqtshg
pull/386/MERGE
mindspore-ci-bot 4 years ago committed by Gitee
commit 21197c2c7e

@ -53,9 +53,9 @@ Status MappingSubgraphOutput(const ComputeGraphPtr &graph, const std::function<i
const auto &op_desc = output_node->GetOpDesc();
GE_CHECK_NOTNULL(op_desc);
for (auto index = 0; index < op_desc->GetInputsSize(); ++index) {
for (size_t index = 0; index < op_desc->GetInputsSize(); ++index) {
int parent_index = output(index);
GELOGI("Generate subgraph output map for subgraph %s, index %d, parent index %d",
GELOGI("Generate subgraph output map for subgraph %s, index %zu, parent index %d",
graph->GetName().c_str(), index, parent_index);
if (parent_index == -1) {
continue;

Loading…
Cancel
Save