Skip to content

Commit 3edc430

Browse files
committed
Merge branch 4.x
2 parents 7e5a9eb + c2a02f6 commit 3edc430

File tree

4 files changed

+7
-0
lines changed

4 files changed

+7
-0
lines changed

testdata/dnn/tflite/generate.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,3 +147,10 @@ def keras_to_tf(model, input_shape):
147147

148148
global_max_pool, inp = keras_to_tf(global_max_pool, (1, 7, 7, 5))
149149
save_tflite_model(global_max_pool, inp, 'global_max_pooling_2d')
150+
151+
leakyRelu = tf.keras.models.Sequential([
152+
tf.keras.layers.LeakyReLU()
153+
])
154+
155+
leakyRelu, inp = keras_to_tf(leakyRelu, (1, 7, 7, 5))
156+
save_tflite_model(leakyRelu, inp, 'leakyRelu')
524 Bytes
Binary file not shown.
1.08 KB
Binary file not shown.
1.08 KB
Binary file not shown.

0 commit comments

Comments
 (0)