Compile the model using a stochastic gradient descent optimizer with Nesterov momentum.
