Skip to content

Commit

Permalink
Docstring for base argument
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhernandezgarcia committed Jul 10, 2024
1 parent 9520315 commit 910a948
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gflownet/policy/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ def __init__(
The device to be passed to torch tensors.
float_precision : int or torch.dtype
The floating point precision to be passed to torch tensors.
base: Policy (optional)
A base policy to be used as backbone for the backward policy.
"""
config = self._get_config(config)
# Device and float precision
Expand Down

0 comments on commit 910a948

Please sign in to comment.