Rate this Page
★ ★ ★ ★ ★

TensorDictBase.tanh#

TensorDictBase.tanh_() → Self#

Computes the tanh() value of each element of the TensorDict in-place.

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