Rate this Page
★ ★ ★ ★ ★

TensorDictBase.cosh#

TensorDictBase.cosh() → Self#

Returns a new tensordict with torch.cosh() applied to every leaf.

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