Generalized activation functions for deep net.