Rate this Page
★ ★ ★ ★ ★

TensorDictBase.is_floating_point#

TensorDictBase.is_floating_point() → bool#

Checks if all tensors in the tensordict are floating point.

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