diff options
author | 2016-11-03 14:46:06 -0800 | |
---|---|---|
committer | 2016-11-03 16:09:01 -0700 | |
commit | cbd3cacfb73bbea912b9d01c2540187684f751a7 (patch) | |
tree | c2c22af2d05583491b1370dcabdb2e83cb61e2ee /tensorflow/g3doc/get_started/basic_usage.md | |
parent | 703fce57eaae725c4ae4b0bd23629c4f04a9de16 (diff) |
Replace usages initialize_all_variables -> global_variables_initializer
Change: 138128703
Diffstat (limited to 'tensorflow/g3doc/get_started/basic_usage.md')
-rw-r--r-- | tensorflow/g3doc/get_started/basic_usage.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/g3doc/get_started/basic_usage.md b/tensorflow/g3doc/get_started/basic_usage.md index 1603df9335..ae18d9738a 100644 --- a/tensorflow/g3doc/get_started/basic_usage.md +++ b/tensorflow/g3doc/get_started/basic_usage.md @@ -236,7 +236,7 @@ update = tf.assign(state, new_value) # Variables must be initialized by running an `init` Op after having # launched the graph. We first have to add the `init` Op to the graph. -init_op = tf.initialize_all_variables() +init_op = tf.global_variables_initializer() # Launch the graph and run the ops. with tf.Session() as sess: |