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