Layout of a simple neural network with no hidden layer