Two-Order Deep Learning for Generalized Synthesis of Radiation Patterns for Antenna Arrays