src/transformers/models/dpt/modeling_dpt.py/DPTSemanticSegmentationHead/forward
class DPTSemanticSegmentationHead:    def forward(self, hidden_states: List[torch.Tensor]) -> torch.Tensor:
        # use last features
        hidden_states = hidden_states[self.config.head_in_index]

        logits = self.head(hidden_states)

        return logits