Machine learning techniques for inverse system design and control of photonic systems | Synapse