We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c72583f commit b2e9f29Copy full SHA for b2e9f29
torchrl/modules/distributions/continuous.py
@@ -554,7 +554,7 @@ def get_mode(self):
554
def mean(self):
555
raise NotImplementedError(
556
f"{type(self).__name__} does not have a closed form formula for the average. "
557
- "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), "
558
"where N is a large number of samples."
559
)
560
0 commit comments