def METHOD_NAME(self, batch_inputs: Tensor) -> Tuple[Tensor]:
    """Extract features.
    Args:
        batch_inputs (Tensor): Image tensor with shape (N, C, H ,W).
    Returns:
        tuple[Tensor]: Multi-level features that may have different
        resolutions.
    """
    x = self.backbone(batch_inputs)
    if self.with_neck:
        x = self.neck(x)
    return x