Efficient design of a dielectric metasurface with transfer learning and genetic algorithm | Synapse