On-chip wavefront shaping with dielectric metasurface | Synapse