diff options
Diffstat (limited to 'res/TensorFlowTests/NET_0003/test.py')
-rw-r--r-- | res/TensorFlowTests/NET_0003/test.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/res/TensorFlowTests/NET_0003/test.py b/res/TensorFlowTests/NET_0003/test.py new file mode 100644 index 000000000..b5bad2dae --- /dev/null +++ b/res/TensorFlowTests/NET_0003/test.py @@ -0,0 +1,15 @@ +# TF_SMALL_NET_0003/test.pbtxt is create with below script + +# Version info +# - Tensorflow : 1.13.1 +# - Python : 3.5.2 + +import tensorflow as tf + +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) + +print(tf.get_default_graph().as_graph_def()) |