Algorithms, architectures, and platform implementations of integrated photonic neural networks | Synapse