Skip to content

Commit

Permalink
Add return to docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhernandezgarcia committed Feb 9, 2024
1 parent 69af779 commit b9ffd74
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gflownet/utils/buffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,11 @@ def select(
rng : np.random.Generator
A numpy random number generator, used for the permutation mode. Ignored
otherwise.
Returns
-------
list
A batch of n samples, selected from data_dict.
"""
if n == 0:
return []
Expand Down

0 comments on commit b9ffd74

Please sign in to comment.