Rate this Page
★ ★ ★ ★ ★

TensorDictBase.is_contiguous#

TensorDictBase.is_contiguous() → bool#

Returns a boolean indicating if all the tensors are contiguous.

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