def _transform(self, inpt: torch.Tensor, params: dict[str, Any]) -> torch.Tensor:
        """Apply the center crop transform.

        Args:
            inpt (torch.Tensor): Input tensor to transform
            params (dict[str, Any]): Transform parameters (unused)

        Returns:
            torch.Tensor: Center-cropped output tensor
        """
        del params
        return center_crop_image(inpt, output_size=self.size)
Apply the center crop transform.

        Args:
            inpt (torch.Tensor): Input tensor to transform
            params (dict[str, Any]): Transform parameters (unused)

        Returns:
            torch.Tensor: Center-cropped output tensor
        
src/anomalib/data/transforms/center_crop.py