In the latest TensorFlow release, the variable functions have been made more consistent and less confusing. The following are some upgrade suggestions that you need to apply manually:
- tf.VARIABLES should be renamed to tf.GLOBAL_VARIABLES
- tf.all_variables should be renamed to tf.global_variables
- tf.initialize_all_variables should be renamed to tf.global_variables_initializer
- tf.initialize_local_variables should be renamed to tf.local_variables_initializer
- tf.initialize_variables should be renamed to tf.variables_initializer