'Saves the session, initializes all variables to random values.
Args:
session: A tensorflow session.'

def initialize_new(self, session=None):

    with self.graph.as_default():
        if (session is None):
            self.session = tf.Session(graph=self.graph)
        else:
            self.session = session
        self.session.run(tf.initialize_all_variables())
