Generalized adaptive smoothing based neural network architecture for traffic state estimation