Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
ELU layer
[go: Go Back, main page]

ELU layer

[source]

ELU class

keras.layers.ELU(alpha=1.0, **kwargs)

Applies an Exponential Linear Unit function to an output.

Formula:

f(x) = alpha * (exp(x) - 1.) for x < 0
f(x) = x for x >= 0

Arguments

  • alpha: float, slope of negative section. Defaults to 1.0.
  • **kwargs: Base layer keyword arguments, such as name and dtype.