摘要: tensorflow中关于变量的op包含tf.Variable和tf.get_variable。 区别在于: tf.Variable 在创建变量时,默认创建新的对象。当变量名发生冲突时自动赋予新的变量名。因此无法进行复用。 tf.get_variable在创建变量时,如果发现已经创建过相同的变量,则 阅读全文
posted @ 2018-05-07 12:23 bugfree 阅读(153) 评论(0) 推荐(0)