Noise-resilient designs and analysis for optical neural networks | Synapse