Skip to content

Commit 018caa0

Browse files
committed
edit
1 parent 0a23183 commit 018caa0

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

gitTUT/for_gitTUT_3-1.zip

18.2 KB
Binary file not shown.

tensorflowTUT/tf11_build_network/full_code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def add_layer(inputs, in_size, out_size, activation_function=None):
4141
loss = tf.reduce_mean(tf.reduce_sum(tf.square(ys-prediction), reduction_indices=[1]))
4242
train_step = tf.train.GradientDescentOptimizer(0.1).minimize(loss)
4343
# important step
44-
sess= tf.Session()
44+
sess = tf.Session()
4545
# tf.initialize_all_variables() no long valid from
4646
# 2017-03-02 if using tensorflow >= 0.12
4747
sess.run(tf.global_variables_initializer())

0 commit comments

Comments
 (0)