提交 20c153de 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!257 fix the bug of parsing framweork file, when the operator has no_task attribute

Merge pull request !257 from chenchao99/fix_bug_framework
......@@ -435,9 +435,14 @@ class FrameworkParser:
for graph_info in graph_file:
result = self._parse_one_row_graph_info(graph_info)
task_info = task_cache.get(result[0])
if task_info:
task_info.extend(result)
csv_writer.writerow(task_info)
del task_cache[result[0]]
else:
save_info = [None, None, None]
save_info.extend(result)
csv_writer.writerow(save_info)
none_list = [None, None, None, None]
for key, value in task_cache.items():
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册