共享一个变量AUTO_REUSE的基本例子: def foo(): with tf.variable_scope("foo", reuse=tf.AUTO_REUSE): v = tf.get_variable("v", [1]) return v v1 ...
確定! 回上一頁