Rate this Page
★ ★ ★ ★ ★

TensorDictBase.int64#

TensorDictBase.int64() → Self#

Casts all tensors to torch.int64.

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