def elu(x):
""" ELU.
Exponential Linear Unit.
Arguments:
x : A `Tensor` with type `float`, `double`, `int32`, `int64`, `uint8`,
`int16`, or `int8`
Returns:
A `tuple` of `tf.Tensor`. This layer inference, i.e. output Tensors
at training and testing time.
References:
Fast and Accurate Deep Network Learning by Exponential Linear Units,
Djork-Arné Clevert, Thomas Unterthiner, Sepp Hochreiter. 2015.
Links:
[http://arxiv.org/abs/1511.07289](http://arxiv.org/abs/1511.07289)
"""
return tf.nn.elu(x)
评论列表
文章目录