def _initialize_tf_utilities_and_ops(self, restore_previous_model):
    '"\n        Initialize TensorFlow operations: summaries, init operations, saver, summary_writer.\n        Restore a previously trained model if the flag restore_previous_model is true.\n        '
    init_op = tf.global_variables_initializer()
    self.tf_saver = tf.train.Saver()
    self.tf_session.run(init_op)
    if restore_previous_model:
        self.tf_saver.restore(self.tf_session, self.model_path)
"
Initialize TensorFlow operations: summaries, init operations, saver, summary_writer.
Restore a previously trained model if the flag restore_previous_model is true.
def _initialize_tf_utilities_and_ops(self, restore_previous_model):
    '"\n        Initialize TensorFlow operations: summaries, init operations, saver, summary_writer.\n        Restore a previously trained model if the flag restore_previous_model is true.\n        '
    init_op = tf.global_variables_initializer()
    self.tf_saver = tf.train.Saver()
    self.tf_session.run(init_op)
    if restore_previous_model:
        self.tf_saver.restore(self.tf_session, self.model_path)