neural network trained to retrieve the amplitude and phase of objects by measurement of their diffraction pattern