I am asking this question on deep neural network architectures only. If you want to restrict the domain of tasks then you can choose computer vision for this question.
Suppose there is an architecture that performs well on a task. Is it possible can edit or append the first or last few layers and then it performs similarly well on the other task?
If yes, please provide me an example of such architecture that performs well on at least a couple of tasks.