Skip to content

Commit 842d360

Browse files
gabrieldemarmiessefarizrahman4u
authored andcommitted
Added the exponential activation. (#11136)
1 parent 818c1a2 commit 842d360

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

keras/activations.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,12 @@ def hard_sigmoid(x):
152152
return K.hard_sigmoid(x)
153153

154154

155+
def exponential(x):
156+
"""Exponential (base e) activation function.
157+
"""
158+
return K.exp(x)
159+
160+
155161
def linear(x):
156162
"""Linear (i.e. identity) activation function.
157163
"""

0 commit comments

Comments
 (0)