
'''simple docstring'''







from functools import lru_cache



@lru_cache
def 			_a		(	_SCREAMING_SNAKE_CASE		:   int  ):
						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()

'''simple docstring'''







import warnings

from ...utils import logging
from .image_processing_dpt import DPTImageProcessor


_snake_case				:   List[Any]     =				logging.get_logger(__name__)


class 			lowerCAmelCase (				__UpperCAmelCase			):




		def __init__(				self					,						*UpperCamelCase					,						**UpperCamelCase      ):
								warnings.warn(
								    "The class DPTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"
								    " use DPTImageProcessor instead."					,						UpperCamelCase					,						)
								super().__init__(*UpperCamelCase					,						**UpperCamelCase      )