Help with a Python problem

Job ID: 34518188

Budget: $10 – $30 USD

I need help to solve a problem in my python code of a neural network. In the central part of the code has written:
act_func= ['selu', 'relu', 'swish', 'elu']
list_tf = list(product(range(len(act_func)),range(len(act_func))))

Because of this, several network models are generated, but the last model that is saved is from this list being an elu/elu combination, which is not my best result. I need to modify this code so that the best model is used for the predictions.
Related categories: Python Machine Learning (ML)