We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cef6f84 commit abc0362Copy full SHA for abc0362
tensorflowTUT/tf22_scope/tf22_scope.py
@@ -32,7 +32,7 @@
32
var4 = tf.Variable(name='var4', initial_value=[4], dtype=tf.float32)
33
var4_reuse = tf.Variable(name='var4', initial_value=[4], dtype=tf.float32)
34
scope.reuse_variables()
35
- var3_reuse = tf.get_variable(name='var3', shape=[1], dtype=tf.float32, initializer=initializer)
+ var3_reuse = tf.get_variable(name='var3',)
36
37
with tf.Session() as sess:
38
sess.run(tf.initialize_all_variables())
0 commit comments