待完善:tf.name_scope() 和 tf.variable_scope()的区别-CSDN博客

网站介绍:文章浏览阅读45次。with tf.name_scope("a"): b = tf.get_variable("b",[1]) print(b.name) # b:0with tf.variable_scope("a"): b = tf.get_variable("b",[1]) print(b.name) # a/b:0 #此时,如果在tf.name_scope()下进行如下操作,会报错:wi...