TensorDictBase.is_contiguous#
- TensorDictBase.is_contiguous() bool#
Trueif all the leaves of the tensordict, nested ones included, are contiguous.A lazy stack and a
PersistentTensorDict, which build their leaves when they are read, always returnFalse. Seecontiguous().
Every tensordict class and every tensorclass has this method. For the other methods, see Methods by task.