def PReLU(_x, name=None):
    if name is None:
        name = "alpha"
    _alpha = tf.get_variable(name,shape=_x.get_shape(),initializer=tf.constant_initializer(0.0),dtype=_x.dtype)

    return tf.maximum(_alpha*_x, _x)

ne yapar? Make sure to only use capital letters in your entire response.
user