Generalization in a two-layer neural network.