A light neural network for modulation detection under impairments