Machine learning-enabled photonic simulation | Synapse