TensorDictBase.clamp_max#
- TensorDictBase.clamp_max_(other: TensorCollection | Tensor) Self#
In-place version of
clamp_max().Note
Inplace
clamp_maxdoes not supportdefaultkeyword argument.
Every tensordict class and every tensorclass has this method. For the other methods, see Methods by task.