summaryrefslogtreecommitdiff
path: root/res/TensorFlowPythonExamples/examples/leaky_relu/__init__.py
blob: d595edbd0b0877e99c9a7cb77bf7ab066af0f9ea (plain)
1
2
3
4
import tensorflow as tf

in_ = tf.compat.v1.placeholder(dtype=tf.float32, shape=(1, 1), name="Hole")
op_ = tf.compat.v1.nn.leaky_relu(in_)