Abstract: We provide a protocol for training photonic neural networks based on adjoint methods. The gradient of the network with respect to its tunable degrees of ...