Underlying Framework of All-optical Controlled Synaptic Devices for Neuromorphic Computing | Synapse