load¶
- class tensordict.load(prefix: str | pathlib.Path, device: Optional[device] = None, non_blocking: bool = False, *, out: Optional[TensorDictBase] = None)¶
Loads a tensordict from disk.
This class method is a proxy to
load_memmap()
.
Loads a tensordict from disk.
This class method is a proxy to load_memmap()
.