




from functools import lru_cache





@lru_cache
def __UpperCamelCase			(       _A  ):
						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()










import warnings

from ...utils import logging
from .image_processing_beit import BeitImageProcessor


_A     =			logging.get_logger(__name__)


class  A		(  __UpperCAmelCase     ):



		def __init__(     self,	*UpperCamelCase__,	**UpperCamelCase__   ):







								"""simple docstring"""



								warnings.warn(
								    '''The class BeitFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'''
								    ''' use BeitImageProcessor instead.''',	UpperCamelCase__,	)
								super().__init__(*UpperCamelCase__,	**UpperCamelCase__   )




