首页 > 其他 > 详细

Tensorflow常用方法

时间:2017-06-24 09:19:22      阅读:270      评论:0      收藏:0      [点我收藏+]

tf.Graph.as_default()

as_default(self)
Returns a context manager that makes this `Graph` the default graph.

This method should be used if you want to create multiple graphs in the same process. For convenience, a global default graph is
provided, and all ops will be added to this graph if you do not create a new graph explicitly. Use this method with the `with` keyword
to specify that ops created within the scope of a block should be added to this graph.

Tensorflow常用方法

原文:http://www.cnblogs.com/max-hu/p/7072426.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!