DIRECTORIES_NOT_TO_BE_TESTED=$1
# Check python files
- PYTHON_FILES_TO_CHECK=$(git ls-files '*.py' ':!:compiler/*' ':!:res/*')
+ PYTHON_FILES_TO_CHECK=$(git ls-files '*.py' ':!:compiler/*')
ARR=($PYTHON_FILES_TO_CHECK)
for s in ${DIRECTORIES_NOT_TO_BE_TESTED[@]}; do
skip=${s#'.'/}/
# TF_SMALL_NET_0003/test.pbtxt is create with below script
# Version info
-# - Tensorflow : 1.13.1
+# - Tensorflow : 1.13.1
# - Python : 3.5.2
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')
-fbn = tf.nn.fused_batch_norm(conv, scale=[1.0], offset=[0.0], mean=[0.0], variance=[1.0], is_training=False)
+fbn = tf.nn.fused_batch_norm(
+ conv, scale=[1.0], offset=[0.0], mean=[0.0], variance=[1.0], is_training=False)
print(tf.get_default_graph().as_graph_def())
# TF_SMALL_NET_0004/test.pbtxt is create with below script
# Version info
-# - Tensorflow : 1.13.1
+# - Tensorflow : 1.13.1
# - Python : 3.5.2
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')
-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)
+dconv = tf.nn.depthwise_conv2d(input, filter, [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)
print(tf.get_default_graph().as_graph_def())