Beispiel #1
0
 def call(self, x):
     return K.relu(x - self.alpha, alpha=self.slope)
Beispiel #2
0
 def call(self, x):
     return K.relu(x - self.alpha)
Beispiel #3
0
 def bounded_relu(x):
         return K.relu(x, max_value=1)