Inverse design of electromagnetic metamaterials: from iterative to deep learning-based methods | Synapse