Photonic Implementations of Neural Networks