The structure of a neural network