parse_tensor_dict_string¶ class tensordict.parse_tensor_dict_string(s: str)¶ 将 TensorDict 的 repr 解析为 TensorDict。 注意 此函数旨在用于调试,以根据其打印版本重现 tensordict,不应在实际应用程序中使用。