Skip to content

Commit

Permalink
correct name
Browse files Browse the repository at this point in the history
  • Loading branch information
landoskape committed May 10, 2024
1 parent 4790dc9 commit dfab6aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dominoes/datasets/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,9 +257,9 @@ def get_choice_score(self, choices, scores):
"""
return torch.gather(scores, 2, choices.unsqueeze(2)).squeeze(2)

def process_reward(self, rewards, scores, choices, gamma_transform):
def process_rewards(self, rewards, scores, choices, gamma_transform):
"""
process the reward for performing policy gradient
process the rewards for performing policy gradient
args:
rewards: list of torch.Tensor, the rewards for each network (precomputed using `reward_function`)
Expand Down

0 comments on commit dfab6aa

Please sign in to comment.