I tried to execute the mentioned code by adding the extra layers to the network,and observed that there is increase in the model accuracy. Kindly refer to this gist for the reference.