

'''simple docstring'''





from ..utils import DummyObject, requires_backends





class 		__SCREAMING_SNAKE_CASE							(			metaclass=lowercase__      ):
				lowerCamelCase_		       =    ['torch', 'transformers', 'onnx']







				def __init__(       self     :		List[str]		,					*UpperCAmelCase__     :		Union[str, Any]		,					**UpperCAmelCase__     :		Optional[int]   ):
										'''simple docstring'''
										requires_backends(self		,					['''torch''', '''transformers''', '''onnx''']   )







				@classmethod
				def  lowerCamelCase_	(       cls     :		Any		,					*UpperCAmelCase__     :		List[str]		,					**UpperCAmelCase__     :		Optional[int]   ):
										'''simple docstring'''
										requires_backends(cls		,					['''torch''', '''transformers''', '''onnx''']   )







				@classmethod
				def  lowerCamelCase_	(       cls     :		Optional[Any]		,					*UpperCAmelCase__     :		int		,					**UpperCAmelCase__     :		str   ):
										'''simple docstring'''
										requires_backends(cls		,					['''torch''', '''transformers''', '''onnx''']   )





class 		__SCREAMING_SNAKE_CASE							(			metaclass=lowercase__      ):
				lowerCamelCase_		       =    ['torch', 'transformers', 'onnx']







				def __init__(       self     :		str		,					*UpperCAmelCase__     :		Union[str, Any]		,					**UpperCAmelCase__     :		Optional[int]   ):
										'''simple docstring'''
										requires_backends(self		,					['''torch''', '''transformers''', '''onnx''']   )







				@classmethod
				def  lowerCamelCase_	(       cls     :		str		,					*UpperCAmelCase__     :		str		,					**UpperCAmelCase__     :		Dict   ):
										'''simple docstring'''
										requires_backends(cls		,					['''torch''', '''transformers''', '''onnx''']   )







				@classmethod
				def  lowerCamelCase_	(       cls     :		List[str]		,					*UpperCAmelCase__     :		Any		,					**UpperCAmelCase__     :		Tuple   ):
										'''simple docstring'''
										requires_backends(cls		,					['''torch''', '''transformers''', '''onnx''']   )





class 		__SCREAMING_SNAKE_CASE							(			metaclass=lowercase__      ):
				lowerCamelCase_		       =    ['torch', 'transformers', 'onnx']







				def __init__(       self     :		Dict		,					*UpperCAmelCase__     :		List[str]		,					**UpperCAmelCase__     :		Tuple   ):
										'''simple docstring'''
										requires_backends(self		,					['''torch''', '''transformers''', '''onnx''']   )







				@classmethod
				def  lowerCamelCase_	(       cls     :		Union[str, Any]		,					*UpperCAmelCase__     :		Dict		,					**UpperCAmelCase__     :		Tuple   ):
										'''simple docstring'''
										requires_backends(cls		,					['''torch''', '''transformers''', '''onnx''']   )







				@classmethod
				def  lowerCamelCase_	(       cls     :		Tuple		,					*UpperCAmelCase__     :		Dict		,					**UpperCAmelCase__     :		Tuple   ):
										'''simple docstring'''
										requires_backends(cls		,					['''torch''', '''transformers''', '''onnx''']   )





class 		__SCREAMING_SNAKE_CASE							(			metaclass=lowercase__      ):
				lowerCamelCase_		       =    ['torch', 'transformers', 'onnx']







				def __init__(       self     :		Union[str, Any]		,					*UpperCAmelCase__     :		str		,					**UpperCAmelCase__     :		Dict   ):
										'''simple docstring'''
										requires_backends(self		,					['''torch''', '''transformers''', '''onnx''']   )







				@classmethod
				def  lowerCamelCase_	(       cls     :		Optional[int]		,					*UpperCAmelCase__     :		int		,					**UpperCAmelCase__     :		str   ):
										'''simple docstring'''
										requires_backends(cls		,					['''torch''', '''transformers''', '''onnx''']   )







				@classmethod
				def  lowerCamelCase_	(       cls     :		List[str]		,					*UpperCAmelCase__     :		Optional[Any]		,					**UpperCAmelCase__     :		Optional[Any]   ):
										'''simple docstring'''
										requires_backends(cls		,					['''torch''', '''transformers''', '''onnx''']   )





class 		__SCREAMING_SNAKE_CASE							(			metaclass=lowercase__      ):
				lowerCamelCase_		       =    ['torch', 'transformers', 'onnx']







				def __init__(       self     :		str		,					*UpperCAmelCase__     :		Any		,					**UpperCAmelCase__     :		List[Any]   ):
										'''simple docstring'''
										requires_backends(self		,					['''torch''', '''transformers''', '''onnx''']   )







				@classmethod
				def  lowerCamelCase_	(       cls     :		List[Any]		,					*UpperCAmelCase__     :		Optional[Any]		,					**UpperCAmelCase__     :		Any   ):
										'''simple docstring'''
										requires_backends(cls		,					['''torch''', '''transformers''', '''onnx''']   )







				@classmethod
				def  lowerCamelCase_	(       cls     :		Optional[Any]		,					*UpperCAmelCase__     :		List[Any]		,					**UpperCAmelCase__     :		Optional[int]   ):
										'''simple docstring'''
										requires_backends(cls		,					['''torch''', '''transformers''', '''onnx''']   )





class 		__SCREAMING_SNAKE_CASE							(			metaclass=lowercase__      ):
				lowerCamelCase_		       =    ['torch', 'transformers', 'onnx']







				def __init__(       self     :		List[str]		,					*UpperCAmelCase__     :		Tuple		,					**UpperCAmelCase__     :		str   ):
										'''simple docstring'''
										requires_backends(self		,					['''torch''', '''transformers''', '''onnx''']   )







				@classmethod
				def  lowerCamelCase_	(       cls     :		Dict		,					*UpperCAmelCase__     :		str		,					**UpperCAmelCase__     :		Union[str, Any]   ):
										'''simple docstring'''
										requires_backends(cls		,					['''torch''', '''transformers''', '''onnx''']   )







				@classmethod
				def  lowerCamelCase_	(       cls     :		int		,					*UpperCAmelCase__     :		Tuple		,					**UpperCAmelCase__     :		Union[str, Any]   ):
										'''simple docstring'''
										requires_backends(cls		,					['''torch''', '''transformers''', '''onnx''']   )









'''simple docstring'''


import math







def      snake_case_  (    SCREAMING_SNAKE_CASE__	):







				"""simple docstring"""





				assert isinstance(SCREAMING_SNAKE_CASE__				, SCREAMING_SNAKE_CASE__	) and (
				    number >= 0
				), "'number' must been an int and positive"

				if 1 < number < 4:
								# 2 and 3 are primes
								return True
				elif number < 2 or not number % 2:
								# Negatives, 0, 1 and all even numbers are not primes
								return False

				_SCREAMING_SNAKE_CASE					:			List[str]							= range(3				, int(math.sqrt(SCREAMING_SNAKE_CASE__	) + 1	)				, 2	)
				return not any(not number % i for i in odd_numbers	)







def      snake_case_  (    SCREAMING_SNAKE_CASE__				, SCREAMING_SNAKE_CASE__=1				, **SCREAMING_SNAKE_CASE__	):







				"""simple docstring"""





				_SCREAMING_SNAKE_CASE					:			Dict							= factor * value
				_SCREAMING_SNAKE_CASE					:			Optional[Any]							= value

				while not is_prime(SCREAMING_SNAKE_CASE__	):
								value += 1 if not ("desc" in kwargs and kwargs["desc"] is True) else -1

				if value == first_value_val:
								return next_prime(value + 1				, **SCREAMING_SNAKE_CASE__	)
				return value




