Skip to content

Commit 04c36e2

Browse files
committed
tf.global_variables_initializer()
1 parent efbbd6d commit 04c36e2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tex_pdf/get_started/c1s01_introduction.tex

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ \section{Introduction || 简介}
4141
train = optimizer.minimize(loss)
4242

4343
# Before starting, initialize the variables. We will 'run' this first.
44-
# initialize_all_variables() has been deprecated, and will be deleted after 2017/03/02
45-
# Update: use tf.global_variables_initializer() instead.
4644
init = tf.global_variables_initializer()
4745

4846
# Launch the graph.

0 commit comments

Comments
 (0)