photonic generative network