From dd4a2864163a00b8bf87d02c151fb2d8997727ae Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EC=98=A4=ED=98=95=EC=84=9D/On-Device=20Lab=28SR=29/Staff?= =?utf8?q?=20Engineer/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Mon, 5 Aug 2019 15:48:14 +0900 Subject: [PATCH] Fix pylint warning in res (#6210) Fix pylint warning by python files in res Signed-off-by: Hyeongseok Oh --- res/TensorFlowTests/TF_SMALL_NET_0003/test.py | 6 +++--- res/TensorFlowTests/TF_SMALL_NET_0004/test.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/res/TensorFlowTests/TF_SMALL_NET_0003/test.py b/res/TensorFlowTests/TF_SMALL_NET_0003/test.py index 4a194fb..b5bad2d 100644 --- a/res/TensorFlowTests/TF_SMALL_NET_0003/test.py +++ b/res/TensorFlowTests/TF_SMALL_NET_0003/test.py @@ -6,9 +6,9 @@ import tensorflow as tf -input = tf.placeholder(tf.float32, [1, 3, 3, 5]) -filter = tf.constant(1.0, shape=[2, 2, 5, 1]) -conv = tf.nn.conv2d(input, filter=filter, strides=[1, 1, 1, 1], padding='SAME') +input0 = tf.placeholder(tf.float32, [1, 3, 3, 5]) +filter0 = tf.constant(1.0, shape=[2, 2, 5, 1]) +conv = tf.nn.conv2d(input0, filter=filter0, strides=[1, 1, 1, 1], padding='SAME') fbn = tf.nn.fused_batch_norm( conv, scale=[1.0], offset=[0.0], mean=[0.0], variance=[1.0], is_training=False) diff --git a/res/TensorFlowTests/TF_SMALL_NET_0004/test.py b/res/TensorFlowTests/TF_SMALL_NET_0004/test.py index 4fa924a..a0c790d 100644 --- a/res/TensorFlowTests/TF_SMALL_NET_0004/test.py +++ b/res/TensorFlowTests/TF_SMALL_NET_0004/test.py @@ -6,9 +6,9 @@ import tensorflow as tf -input = tf.placeholder(tf.float32, [1, 3, 3, 5]) -filter = tf.constant(1.0, shape=[2, 2, 5, 2]) -dconv = tf.nn.depthwise_conv2d(input, filter, [1, 1, 1, 1], 'SAME') +input0 = tf.placeholder(tf.float32, [1, 3, 3, 5]) +filter0 = tf.constant(1.0, shape=[2, 2, 5, 2]) +dconv = tf.nn.depthwise_conv2d(input0, filter0, [1, 1, 1, 1], 'SAME') const = tf.constant(2.0, shape=[10]) fbn = tf.nn.fused_batch_norm( x=dconv, scale=const, offset=const, mean=const, variance=const, is_training=False) -- 2.7.4