Skip to content

Commit abc0362

Browse files
committed
add color bar
1 parent cef6f84 commit abc0362

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorflowTUT/tf22_scope/tf22_scope.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
var4 = tf.Variable(name='var4', initial_value=[4], dtype=tf.float32)
3333
var4_reuse = tf.Variable(name='var4', initial_value=[4], dtype=tf.float32)
3434
scope.reuse_variables()
35-
var3_reuse = tf.get_variable(name='var3', shape=[1], dtype=tf.float32, initializer=initializer)
35+
var3_reuse = tf.get_variable(name='var3',)
3636

3737
with tf.Session() as sess:
3838
sess.run(tf.initialize_all_variables())

0 commit comments

Comments
 (0)