Rate this Page
★ ★ ★ ★ ★

TensorDictBase.float16#

TensorDictBase.float16() → Self#

Casts all tensors to torch.float16.

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