Rate this Page
★ ★ ★ ★ ★

TensorDictBase.uint16#

TensorDictBase.uint16() → Self#

Casts all tensors to torch.uint16.

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