save¶ class tensordict.save(data: TensorDictBase, prefix: Optional[str] = None, copy_existing: bool = False, *, num_threads: int = 0, return_early: bool = False, share_non_tensor: bool = False)¶ 將 tensordict 儲存到磁碟。 此函數是 memmap() 的代理。