'''simple docstring'''


import warnings

from ...utils import logging
from .image_processing_owlvit import OwlViTImageProcessor


__lowerCAmelCase	:       Optional[int]						       =	logging.get_logger(__name__)






class 						A   (   UpperCAmelCase   ):





							def __init__(      self				:							str     ,		*__a				:							Union[str, Any]     ,		**__a				:							str	)							->	None:
								warnings.warn(
								    '''The class OwlViTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'''
								    ''' use OwlViTImageProcessor instead.'''     ,		__a     ,		)
								super().__init__(*__a     ,		**__a	)

'''simple docstring'''


def       lowerCAmelCase					(		UpperCamelCase__				:   int       ):


	"""simple docstring"""

	if not isinstance(UpperCamelCase__    ,					UpperCamelCase__       ):
		__UpperCAmelCase							=			f"""Input value of [number={number}] must be an integer"""
		raise TypeError(UpperCamelCase__       )

	if number < 1:
		__UpperCAmelCase							=			f"""Input value of [number={number}] must be > 0"""
		raise ValueError(UpperCamelCase__       )

	__UpperCAmelCase							=			1

	for i in range(1    ,					UpperCamelCase__       ):
		current_number *= 4 * i - 2
		current_number //= i + 1

	return current_number


if __name__ == "__main__":
					import doctest

					doctest.testmod()
