Skip to content

Commit

Permalink
Update continuous critic type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
araffin committed Apr 13, 2023
1 parent eafd84c commit e613373
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion stable_baselines3/common/policies.py
Original file line number Diff line number Diff line change
Expand Up @@ -898,10 +898,12 @@ class ContinuousCritic(BaseModel):
between the actor and the critic (this saves computation time)
"""

features_extractor: BaseFeaturesExtractor

def __init__(
self,
observation_space: spaces.Space,
action_space: spaces.Space,
action_space: spaces.Box,
net_arch: List[int],
features_extractor: nn.Module,
features_dim: int,
Expand Down

0 comments on commit e613373

Please sign in to comment.