Skip to content

Commit

Permalink
add back comment referring to issue 156
Browse files Browse the repository at this point in the history
  • Loading branch information
saleml committed Apr 2, 2024
1 parent 8b2d124 commit 368af4c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gfn/gflownet/detailed_balance.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ def get_scores(
module_output = self.pf(
states
) # TODO: Inefficient duplication in case of tempered policy
# The Transitions container should then have some
# estimator_outputs attribute as well, to avoid duplication here ?
# See (#156).
valid_log_pf_actions = self.pf.to_probability_distribution(
states, module_output
).log_prob(actions.tensor)
Expand Down

0 comments on commit 368af4c

Please sign in to comment.