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