From 097a98dcd4b135726305af4af6b256994e7a8260 Mon Sep 17 00:00:00 2001 From: Liwei Song Date: Thu, 10 Dec 2020 18:14:39 -0500 Subject: [PATCH] edit the summary string for privacy risk scores --- .../privacy/membership_inference_attack/data_structures.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tensorflow_privacy/privacy/membership_inference_attack/data_structures.py b/tensorflow_privacy/privacy/membership_inference_attack/data_structures.py index d710671..7ab3431 100644 --- a/tensorflow_privacy/privacy/membership_inference_attack/data_structures.py +++ b/tensorflow_privacy/privacy/membership_inference_attack/data_structures.py @@ -589,7 +589,6 @@ class RiskScoreResults: single_summary = single_result.collect_results() for line in single_summary: summary.append(line) - summary.append('\n') return '\n'.join(summary)