Where deep learning meets metamaterials