Photonic Neural Networks: A Survey