Rate this Page
★ ★ ★ ★ ★

TensorDictBase.mul#

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

In-place version of mul().

Note

Inplace mul does not support default keyword argument.

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