Skip to content

Commit

Permalink
update init var docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zsdonghao committed Nov 19, 2017
1 parent be3441c commit b6396fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tensorlayer/layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@ def merge_networks(layers=[]):
return layer

def initialize_global_variables(sess=None):
"""Excute ``sess.run(tf.global_variables_initializer())`` for TF12+ or
sess.run(tf.initialize_all_variables()) for TF11.
"""Excute ``sess.run(tf.global_variables_initializer())`` for TF 0.12+ or
``sess.run(tf.initialize_all_variables())`` for TF 0.11.
Parameters
----------
Expand Down

0 comments on commit b6396fe

Please sign in to comment.