def MakeSummary(name, value):
"""Creates a tf.Summary proto with the given name and value."""
summary = tf.Summary()
val = summary.value.add()
val.tag = str(name)
val.simple_value = float(value)
return summary
yt8m_utils.py 文件源码
python
阅读 27
收藏 0
点赞 0
评论 0
评论列表
文章目录