Skip to content

Commit

Permalink
Change dropout param to use float; Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
PRL Desktop committed Oct 13, 2022
1 parent 2782d6c commit d917f01
Show file tree
Hide file tree
Showing 3 changed files with 454 additions and 454 deletions.
2 changes: 1 addition & 1 deletion d3rlpy/algos/torch/ddpg_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def __init__(
scaler: Optional[Scaler],
action_scaler: Optional[ActionScaler],
reward_scaler: Optional[RewardScaler],
dropout : bool,
dropout : float,
layernorm : bool,
):
super().__init__(
Expand Down
2 changes: 1 addition & 1 deletion d3rlpy/algos/torch/sac_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def __init__(
scaler: Optional[Scaler],
action_scaler: Optional[ActionScaler],
reward_scaler: Optional[RewardScaler],
dropout = bool,
dropout = float,
layernorm = bool,
):
super().__init__(
Expand Down
Loading

0 comments on commit d917f01

Please sign in to comment.