2. Dense networks#

We train dense neural networks in Keras and PyTorch, and provide an example of tuning the hyperparameters using Bayesian optimization.