

import warnings

from ...utils import logging
from .image_processing_deit import DeiTImageProcessor


__a  :str										=       logging.get_logger(__name__)

class    _a (       SCREAMING_SNAKE_CASE__							):




      """simple docstring"""

      def __init__(					self				:							List[str]		,       *UpperCAmelCase				:							Any		,       **UpperCAmelCase				:							Optional[int]     ):
            warnings.warn(
                "The class DeiTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"
                " use DeiTImageProcessor instead."		,       A__		,       )
            super().__init__(*A__		,       **A__     )

from functools import lru_cache



@lru_cache
def        UpperCamelCase    (							lowerCAmelCase__		):
					'''simple docstring'''
					if num < 0:
										raise ValueError('''Number should not be negative.'''		)

					return 1 if num in (0, 1) else num * factorial(num - 1		)


if __name__ == "__main__":
							import doctest

							doctest.testmod()




