Neural network approach for electromagnetic inverse scattering solution