Customize an activation function

thank you !everyone,I will try it,