Skip to content

FIX tf api compatibility problem#7

Open
TITAN-PyCompat wants to merge 3 commits intowangz10:masterfrom
TITAN-PyCompat:FIX_API_USAGES
Open

FIX tf api compatibility problem#7
TITAN-PyCompat wants to merge 3 commits intowangz10:masterfrom
TITAN-PyCompat:FIX_API_USAGES

Conversation

@TITAN-PyCompat
Copy link
Copy Markdown

Dear developers,

I found some compatibility problems in your use of TensorFlow APIs, which might lead to crashes in a low version of TensorFlow. And I fix it for you as below:

tf.global_variables_initializer is the updated version of tf.initialize_all_variables, however, it appears until tf 0.12.0-rc0. So for version before that, it's better to use tf.initialize_all_variables to be safe.

@wangz10
Hope you could take my advice and look forward to your reply! 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant