From 934959af19f882143a32c472e3072c6f8352d955 Mon Sep 17 00:00:00 2001 From: seo-inyoung <62606132+seo-inyoung@users.noreply.github.com> Date: Sun, 31 May 2020 12:44:24 +0900 Subject: [PATCH] Update tf2.py I changed the comment symbol.('''->#) Because it's a line of comment. --- tensorflow/python/tf2.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tensorflow/python/tf2.py b/tensorflow/python/tf2.py index bc713d6e28b..4c9d027221f 100644 --- a/tensorflow/python/tf2.py +++ b/tensorflow/python/tf2.py @@ -28,19 +28,19 @@ _force_enable = None def enable(): - """Enables v2 behaviors.""" + #Enables v2 behaviors. global _force_enable _force_enable = True def disable(): - """Disables v2 behaviors.""" + #Disables v2 behaviors. global _force_enable _force_enable = False def enabled(): - """Returns True iff TensorFlow 2.0 behavior should be enabled.""" + #Returns True iff TensorFlow 2.0 behavior should be enabled. if _force_enable is None: return os.getenv("TF2_BEHAVIOR", "0") != "0"