

import warnings

from ...utils import logging
from .image_processing_yolos import YolosImageProcessor


__lowerCamelCase						    =      logging.get_logger(__name__)


class    A__ ( _snake_case     ):



    def __init__(   self						,			*UpperCamelCase__						,			**UpperCamelCase__    )  -> Any:





           '''simple docstring'''
           warnings.warn(
               """The class YolosFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"""
               """ use YolosImageProcessor instead."""						,			_lowerCAmelCase						,			)
           super().__init__(*_lowerCAmelCase						,			**_lowerCAmelCase    )



'''simple docstring'''







from functools import lru_cache
@lru_cache
def  UpperCAmelCase__      ( UpperCAmelCase__			)     ->     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()
