Skip to content

Commit 621d289

Browse files
authoredNov 25, 2017
Merge pull request MorvanZhou#60 from tidyjiang8/fix
clean up old code
2 parents 3e018ce + 2d5d28a commit 621d289

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed
 

‎tensorflowTUT/tf5_example2/full_code.py

-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323
loss = tf.reduce_mean(tf.square(y-y_data))
2424
optimizer = tf.train.GradientDescentOptimizer(0.5)
2525
train = optimizer.minimize(loss)
26-
27-
init = tf.initialize_all_variables()
2826
### create tensorflow structure end ###
2927

3028
sess = tf.Session()

0 commit comments

Comments
 (0)
Please sign in to comment.