Skip to content

Commit

Permalink
clean up old code
Browse files Browse the repository at this point in the history
  • Loading branch information
chunhuajiang committed Nov 24, 2017
1 parent 3e018ce commit 2d5d28a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tensorflowTUT/tf5_example2/full_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
loss = tf.reduce_mean(tf.square(y-y_data))
optimizer = tf.train.GradientDescentOptimizer(0.5)
train = optimizer.minimize(loss)

init = tf.initialize_all_variables()
### create tensorflow structure end ###

sess = tf.Session()
Expand Down

0 comments on commit 2d5d28a

Please sign in to comment.