The prediction class layers, but I need at least the last prediction layer as a tensor. I found the prediction_head; this one lacks the output feature. Hence is not compatible to use to get the feature map of the model in that layer.