assignment3_coding/starter_code 2/code/policy_network.py
def record_summary(self, t):
    """
    Add summary to tensorboard

    You don't have to change or use anything here.
    """

    fd = {
      self.avg_reward_placeholder: self.avg_reward,
      self.max_reward_placeholder: self.max_reward,
      self.std_reward_placeholder: self.std_reward,
      self.eval_reward_placeholder: self.eval_reward,
    }
    summary = self.sess.run(self.merged, feed_dict=fd)
    # tensorboard stuff
    self.file_writer.add_summary(summary, t)

    Add summary to tensorboard

    You don't have to change or use anything here.
    
Add summary to tensorboard
You don't have to change or use anything here.
Add summary to tensorboard You don ' t have to change or use anything here .
def record_summary(self, t):
    fd = {
      self.avg_reward_placeholder: self.avg_reward,
      self.max_reward_placeholder: self.max_reward,
      self.std_reward_placeholder: self.std_reward,
      self.eval_reward_placeholder: self.eval_reward,
    }
    summary = self.sess.run(self.merged, feed_dict=fd)
    self.file_writer.add_summary(summary, t)
def record_summary ( self , t ) : fd = { self . avg_reward_placeholder : self . avg_reward , self . max_reward_placeholder : self . max_reward , self . std_reward_placeholder : self . std_reward , self . eval_reward_placeholder : self . eval_reward , } summary = self . sess . run ( self . merged , feed_dict = fd ) self . file_writer . add_summary ( summary , t )
Add summary to tensorboard
You don't have to change or use anything here.
Add summary to tensorboard You don ' t have to change or use anything here .
"""
    Add summary to tensorboard

    You don't have to change or use anything here.
    """ # tensorboard stuff
self
t