Skip to content

Commit

Permalink
Add type of return for select()
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhernandezgarcia committed Feb 8, 2024
1 parent 9c18890 commit 69af779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gflownet/utils/buffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ def select(
n: int,
mode: str = "permutation",
rng: np.random.Generator = None,
):
) -> List:
"""
Selects a subset of n data points from data_dict, according to the criterion
indicated by mode.
Expand Down

0 comments on commit 69af779

Please sign in to comment.