From 498100e8544fb82f8effa58f2bbcc0bfc801e8dc Mon Sep 17 00:00:00 2001 From: fneitzel Date: Sun, 3 Oct 2021 02:07:50 +0200 Subject: [PATCH] Update Listing 2.10 - 2.11.ipynb `updater` variable is not needed --- TFv2/ch02/Listing 2.10 - 2.11.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TFv2/ch02/Listing 2.10 - 2.11.ipynb b/TFv2/ch02/Listing 2.10 - 2.11.ipynb index da002fc..59d5ac7 100644 --- a/TFv2/ch02/Listing 2.10 - 2.11.ipynb +++ b/TFv2/ch02/Listing 2.10 - 2.11.ipynb @@ -44,7 +44,7 @@ "for i in range(1, len(raw_data)):\n", " if raw_data[i] - raw_data[i-1] > 5:\n", " spikes_val[i] = True\n", - " updater = spikes.assign(spikes_val)\n", + " spikes.assign(spikes_val)\n", " save_path = manager.save()\n", " print(\"Saved checkpoint at: %s\" % save_path)\n", " \n",