Browse Source

!971 profiling iter num start with 1

From: @zhengyuanhua
Reviewed-by: @youui,@xchu42
Signed-off-by: @youui
tags/v1.2.0
mindspore-ci-bot Gitee 3 years ago
parent
commit
74df5d800a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/hybrid/node_executor/task_context.cc

+ 1
- 1
ge/hybrid/node_executor/task_context.cc View File

@@ -530,7 +530,7 @@ Status TaskContext::SaveProfilingTaskDescInfo(uint32_t task_type, uint32_t block
tmp_task_desc_info.task_id = task_id; tmp_task_desc_info.task_id = task_id;
tmp_task_desc_info.stream_id = stream_id; tmp_task_desc_info.stream_id = stream_id;
tmp_task_desc_info.shape_type = "dynamic"; tmp_task_desc_info.shape_type = "dynamic";
tmp_task_desc_info.cur_iter_num = iteration_;
tmp_task_desc_info.cur_iter_num = iteration_ + 1;
task_desc_info.emplace_back(tmp_task_desc_info); task_desc_info.emplace_back(tmp_task_desc_info);
} }




Loading…
Cancel
Save