assignment3_coding/starter_code 2/code/baseline_network.py
def update_baseline(self, returns, observations):
    """
    Update the baseline from given returns and observation.

    Args:
            returns: Returns from get_returns
            observations: observations
    TODO:
      apply the baseline update op with the observations and the returns.
      HINT: Run self.update_baseline_op with self.sess.run(...)
    """
    #######################################################
    #########   YOUR CODE HERE - 1-5 lines.   ############

    self.sess.run(self.update_baseline_op, feed_dict={self.baseline_target_placeholder : returns,
                                                      self.observation_placeholder : observations})

    # TODO
    #######################################################
    #########          END YOUR CODE.          ############

    Update the baseline from given returns and observation.

    Args:
            returns: Returns from get_returns
            observations: observations
    TODO:
      apply the baseline update op with the observations and the returns.
      HINT: Run self.update_baseline_op with self.sess.run(...)
    
Update the baseline from given returns and observation.
Update the baseline from given returns and observation .
def update_baseline(self, returns, observations):
    self.sess.run(self.update_baseline_op, feed_dict={self.baseline_target_placeholder : returns,
                                                      self.observation_placeholder : observations})
def update_baseline ( self , returns , observations ) : self . sess . run ( self . update_baseline_op , feed_dict = { self . baseline_target_placeholder : returns , self . observation_placeholder : observations } )
Update the baseline from given returns and observation.
Update the baseline from given returns and observation .
"""
    Update the baseline from given returns and observation.

    Args:
            returns: Returns from get_returns
            observations: observations
    TODO:
      apply the baseline update op with the observations and the returns.
      HINT: Run self.update_baseline_op with self.sess.run(...)
    """ ####################################################### #########   YOUR CODE HERE - 1-5 lines.   ############ # TODO ####################################################### #########          END YOUR CODE.          ############
self
returns
Returns from get_returns
Returns from get_returns
observations
None