Rate this Page
★ ★ ★ ★ ★

TensorDictBase.double#

TensorDictBase.double() → Self#

Casts all tensors to torch.double (torch.float64).

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