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