Skip to content

Commit 49adb8d

Browse files
Merge pull request #844 from SamFC10:tf-leakyrelu
* added data for TF LeakyRelu test
1 parent 960de6c commit 49adb8d

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

testdata/dnn/tensorflow/generate_tf_models.py

+4
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,10 @@ def my_dropout(x):
497497
save(inp, flatten, 'unfused_flatten_unknown_batch', optimize=False)
498498
################################################################################
499499
inp = tf.placeholder(tf.float32, [1, 2, 3, 4], 'input')
500+
leakyRelu = tf.nn.leaky_relu(inp, alpha=0.1)
501+
save(inp, leakyRelu, 'leaky_relu', optimize=False)
502+
################################################################################
503+
inp = tf.placeholder(tf.float32, [1, 2, 3, 4], 'input')
500504
relu = tf.maximum(inp, 0.01 * inp, name='leaky_relu') * 2
501505
save(inp, relu, 'leaky_relu_order1', optimize=False)
502506
################################################################################
224 Bytes
Binary file not shown.
149 Bytes
Binary file not shown.
224 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)