src/transformers/models/detr/modeling_detr.py/DetrMLPPredictionHead/forward
class DetrMLPPredictionHead:    def forward(self, x):
        for i, layer in enumerate(self.layers):
            x = nn.functional.relu(layer(x)) if i < self.num_layers - 1 else layer(x)
        return x