assignment3_coding/starter_code 2/code/policy_network.py
def initialize(self):
    """
    Assumes the graph has been constructed (have called self.build())
    Creates a tf Session and run initializer of variables

    You don't have to change or use anything here.
    """
    # setting the seed
    #pdb.set_trace()

    # create tf session
    self.sess = tf.Session()

    # tensorboard stuff
    self.add_summary()
    # initiliaze all variables
    init = tf.global_variables_initializer()
    self.sess.run(init)

    if self.config.use_baseline:
      self.baseline_network.set_session(self.sess)

    Assumes the graph has been constructed (have called self.build())
    Creates a tf Session and run initializer of variables

    You don't have to change or use anything here.
    
Assumes the graph has been constructed (have called self.build())
Creates a tf Session and run initializer of variables

You don't have to change or use anything here.
Assumes the graph has been constructed ( have called self . build () ) Creates a tf Session and run initializer of variables You don ' t have to change or use anything here .
def initialize(self):
    self.sess = tf.Session()
    self.add_summary()
    init = tf.global_variables_initializer()
    self.sess.run(init)
    if self.config.use_baseline:
      self.baseline_network.set_session(self.sess)
def initialize ( self ) : self . sess = tf . Session ( ) self . add_summary ( ) init = tf . global_variables_initializer ( ) self . sess . run ( init ) if self . config . use_baseline : self . baseline_network . set_session ( self . sess )
Assumes the graph has been constructed (have called self.build())
Creates a tf Session and run initializer of variables
Assumes the graph has been constructed ( have called self . build () ) Creates a tf Session and run initializer of variables
"""
    Assumes the graph has been constructed (have called self.build())
    Creates a tf Session and run initializer of variables

    You don't have to change or use anything here.
    """ # setting the seed #pdb.set_trace() # create tf session # tensorboard stuff # initiliaze all variables
self