tensorflow-playground
tensorflow-playground copied to clipboard
FIX tf api compatibility problem
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! 😄