Valified_Code_Classify icon indicating copy to clipboard operation
Valified_Code_Classify copied to clipboard

TensorFlow API Compatibility Problems

Open TITAN-PyCompat opened this issue 6 years ago • 0 comments

Dear developers,

I observed some TensorFlow api usage in your code that might lead to serious compatibility problems(like a crash).

tf.global_variables_initializer appeared in tf v0.12.0-rc0 and this will induce a crash if used in an earlier version. ALSO for versions after tf v0.12.0-rc0, it's better to use tf.initialize_all_variables instead of tf.global_variables_initializer as it is deprecated since then.

I have fixed this problem in #2 Look forward to your reply! Thanks!

TITAN-PyCompat avatar May 09 '19 17:05 TITAN-PyCompat