Integrated neural network