Functional API and hidden layers with different activation functions in Keras Deep Learning