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.