快捷方式

parse_tensor_dict_string

class tensordict.parse_tensor_dict_string(s: str)

將 TensorDict 的 repr 表示解析為 TensorDict。

注意

此函式旨在用於除錯,以便根據 tensordict 的列印輸出版本來重現它,不應在實際應用中使用。


© Copyright 2022, Meta。

使用 Sphinx 構建,主題由 Read the Docs 提供。

文件

訪問 PyTorch 的綜合開發者文件

檢視文件

教程

獲取針對初學者和高階開發者的深入教程

檢視教程

資源

查詢開發資源並獲得問題的解答

檢視資源