Fix pylint warning in summarize pb file tool (#5630)
author오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Fri, 12 Jul 2019 06:44:15 +0000 (15:44 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Fri, 12 Jul 2019 06:44:15 +0000 (15:44 +0900)
Fix pylint warning (anomalous backslash) in summarize pb file tool by attaching "r" prefix

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
tools/tflkit/summarize_pb.py

index 6338041..bdc6b25 100644 (file)
@@ -40,7 +40,7 @@ def PrintInput(data):
 
 def PrintOutput(data):
     print("Outputs")
-    sub = re.findall('\((.*?)\)', data)
+    sub = re.findall(r'\((.*?)\)', data)
     for i in sub:
         print('\t' + i)