End-to-end optimization of optical communication systems based on directly modulated lasers | Synapse