Electro-and all-optical photonic neural networks: towards real-time processors Conference Paper uri icon