View source on GitHub |
See tf.compat.v1.variables_initializer
. (deprecated)
tf.compat.v1.initialize_variables(
var_list, name='init'
)
Warning: THIS FUNCTION IS DEPRECATED. It will be removed after 2017-03-02.
Instructions for updating:
Use tf.variables_initializer
instead.
NOTE The output of this function should be used. If it is not, a warning will be logged or an error may be raised. To mark the output as used, call its .mark_used() method.