Rate this Page
★ ★ ★ ★ ★

TensorDictBase.int16#

TensorDictBase.int16() → Self#

Casts all tensors to torch.int16.

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