From 28a30a24c67b08cc78887dded336a9c40542f964 Mon Sep 17 00:00:00 2001 From: ltcptgeneral <35508619+ltcptgeneral@users.noreply.github.com> Date: Mon, 19 Nov 2018 17:33:37 -0600 Subject: [PATCH] Update analysis.py --- analysis.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/analysis.py b/analysis.py index 13556dad..03da7fe6 100644 --- a/analysis.py +++ b/analysis.py @@ -64,7 +64,7 @@ def _init_device (setting, arg): #initiates computation device for ANNs the_device_woman = torch.device("cpu") return the_device_woman #name that reference else: - return "error:specified device does not exist" + return "error: specified device does not exist" class c_entities: @@ -612,7 +612,6 @@ def generate_data(filename, x, y, low, high): temp = temp + str(random.uniform(low, high)) file.write(temp + "\n") - #statistics def below------------------------------------------------------------------------------------------------------------------------------------------------------ class StatisticsError(ValueError):