Rate this Page
★ ★ ★ ★ ★

TensorDictBase.maximum#

TensorDictBase.maximum_(other: TensorCollection | Tensor) → Self#

In-place version of maximum().

Note

Inplace maximum does not support default keyword argument.

Every tensordict class and every tensorclass has this method. For the other methods, see Methods by task.