Dense Prediction by Means of Self-attention Layers