summaryrefslogtreecommitdiff
path: root/res/TensorFlowPythonExamples/examples/prelu/__init__.py
blob: 2ab0302656cac9a50fd9975db913a3af61d63282 (plain)
1
2
3
4
5
6
7
import tensorflow as tf
from tensorflow.compat.v1.keras import layers

model = tf.compat.v1.keras.Sequential()
model.add(layers.PReLU())
# TODO Find a way to freeze Keras model for inference
model.build((1, 1))