TensorFlow initialize_all_variables is Deprecated. initialize_all_variables (from tensorflow.python.ops.variables) is deprecated and will be removed after 2017-03-02. `tf.global_variables_initializer` instead. initialize_all_variables -> global_variables_initializer