Generalized and partial synchronization of coupled neural networks