Skip to content

Commit

Permalink
documentaiton in update_parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
mbchang committed Sep 11, 2018
1 parent d973131 commit e5a8426
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions hw2/train_pg_f18.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,13 +472,14 @@ def update_parameters(self, ob_no, ac_na, q_n, adv_n):
arguments:
ob_no: shape: (sum_of_path_lengths, ob_dim)
ac_na: shape: (sum_of_path_lengths).
returns:
q_n: shape: (sum_of_path_lengths). A single vector for the estimated q values
whose length is the sum of the lengths of the paths
adv_n: shape: (sum_of_path_lengths). A single vector for the estimated
advantages whose length is the sum of the lengths of the paths
returns:
nothing
"""
#====================================================================================#
# ----------PROBLEM 6----------
Expand Down

0 comments on commit e5a8426

Please sign in to comment.