the sequential process of a neural network