Rate this Page
★ ★ ★ ★ ★

TensorDictBase.saved_path#

property TensorDictBase.saved_path#

The directory where a memory-mapped tensordict stores its files, as a Path.

Raises:

AttributeError – if is_memmap() returns False, for example after unlock_().

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