Skip to content

Commit

Permalink
Remove unused num_params=1
Browse files Browse the repository at this point in the history
  • Loading branch information
Louis Faury committed Oct 29, 2024
1 parent 37da364 commit f414355
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions torchrl/modules/distributions/discrete.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@ class OneHotCategorical(D.Categorical):
"""

num_params: int = 1

def __init__(
self,
logits: Optional[torch.Tensor] = None,
Expand Down

0 comments on commit f414355

Please sign in to comment.