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 8257799 commit d22266dCopy full SHA for d22266d
torchrl/modules/distributions/continuous.py
@@ -205,8 +205,8 @@ class TruncatedNormal(D.Independent):
205
206
Default is 5.0
207
208
- min (torch.Tensor or number, optional): minimum value of the distribution. Default = -1.0;
209
- max (torch.Tensor or number, optional): maximum value of the distribution. Default = 1.0;
+ low (torch.Tensor or number, optional): minimum value of the distribution. Default = -1.0;
+ high (torch.Tensor or number, optional): maximum value of the distribution. Default = 1.0;
210
tanh_loc (bool, optional): if ``True``, the above formula is used for
211
the location scaling, otherwise the raw value is kept.
212
Default is ``False``;
0 commit comments