Learning personalized representation for inverse problems in medical imaging using deep neural network