Photo by

This part is used for those who want to passing many different parameters to the models, we can pass list parameters or dict parameters to the functions by the below operations.

Lists: the param sequence should be aligned with the function parameters.

param=[x_train, y_train, learning_rate, dropout_keep, other_keywords]

Dict: passing parameters using key-value dictionaries.

params={'x_train': x_train,
        'y_train': y_train,
        'learning_rate': lr,
        'dropout_keep': dropout_keep,
        'other_keywords': others}