Rate this Page
★ ★ ★ ★ ★

TensorDictBase.int8#

TensorDictBase.int8() → Self#

Casts all tensors to torch.int8.

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