Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

FIX api usage#2

Open
TITAN-PyCompat wants to merge 2 commits into
SymphonyPy:masterSymphonyPy/Valified_Code_Classify:masterfrom
TITAN-PyCompat:FIX_API_USAGETITAN-PyCompat/Valified_Code_Classify:FIX_API_USAGECopy head branch name to clipboard
Open

FIX api usage#2
TITAN-PyCompat wants to merge 2 commits into
SymphonyPy:masterSymphonyPy/Valified_Code_Classify:masterfrom
TITAN-PyCompat:FIX_API_USAGETITAN-PyCompat/Valified_Code_Classify:FIX_API_USAGECopy head branch name to clipboard

Conversation

@TITAN-PyCompat
Copy link
Copy Markdown

Dear developers,

I found one deprecated usage of TensorFlow APIs in your code as shown below and fixed it for you.

tf.initialize_all_variables has been deprecated in tf v0.12.0 and it's better to replace it with tf.global_variables_initializer to get the benefit of new APIs.

I made a fix for you which can make your code be compatible on more versions of TensorFlow.
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.