Valified_Code_Classify
Valified_Code_Classify copied to clipboard
FIX api usage
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! 😃