'How to create PSS and SS activation functions in Keras
I'm using keras with tensorflow backend. My goal is to add my custom activation functions (PSS, SS) but I don't know how can i implement them.
Positive Smooth Staircase (PSS) activation function
Where n is number of output labels, w is a constant.
Smooth Staircase (SS) activation function
Where n is number of output labels (output neurons), c is a constant.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
