Rate this Page
★ ★ ★ ★ ★

TensorDictBase.uint8#

TensorDictBase.uint8() → Self#

Casts all tensors to torch.uint8.

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