parse_tensor_dict_string¶ class tensordict.parse_tensor_dict_string(s: str)¶ 將 TensorDict 的 repr 解析為 TensorDict。 注意 此函式旨在用於除錯,根據其列印版本重現 tensordict,不應用於實際應用程式。