码迷,mamicode.com
首页 > 其他好文 > 详细

Tensorflow常用方法

时间:2017-06-24 09:57:41      阅读:122      评论:0      收藏:0      [点我收藏+]

标签:elf   tensor   ext   not   proc   multiple   lock   sel   within   

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常用方法

标签:elf   tensor   ext   not   proc   multiple   lock   sel   within   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!