提交 5633f6c6 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!660 Fix bug: summary graph and record misjudgment

Merge pull request !660 from candanzg/summary_record_bug
......@@ -158,6 +158,9 @@ class SummaryRecord:
package_graph_event(graph_proto).SerializeToString())
self.event_writer.flush()
self.has_graph = True
data = _summary_tensor_cache.get("SummaryRecord")
if data is None:
return True
data = _summary_tensor_cache.get("SummaryRecord")
if data is None:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册