提交 7e8e44ef 编写于 作者: C candanzg

fixed summary graph bug

Signed-off-by: Ncandanzg <zhangshucheng@huawei.com>
上级 96d39886
......@@ -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.
先完成此消息的编辑!
想要评论请 注册