Neural network model for selective attention in visual pattern recognition and associative recall | Synapse