Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
0xMana-git committed Dec 3, 2024
1 parent c72583f commit 0571e24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchrl/modules/distributions/continuous.py
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ def get_mode(self):
def mean(self):
raise NotImplementedError(
f"{type(self).__name__} does not have a closed form formula for the average. "
"Am estimate of this value can be computed using dist.sample((N,)).mean(dim=0), "
"An estimate of this value can be computed using dist.sample((N,)).mean(dim=0), "
"where N is a large number of samples."
)

Expand Down

0 comments on commit 0571e24

Please sign in to comment.