A framework of neural network