from ..utils import DummyObject, requires_backends

class       snake_case					(      metaclass=UpperCamelCase_						):
  lowercase_			=     ['onnx']




  def __init__(      self     :	str     , *a_     :	Tuple     , **a_     :	Dict				)->       Union[str, Any]:




       """simple docstring"""
       requires_backends(self     , ['onnx']				)




  @classmethod
  def 	__lowercase(      cls     :	Any     , *a_     :	List[Any]     , **a_     :	int				)->       Optional[int]:




       """simple docstring"""
       requires_backends(cls     , ['onnx']				)




  @classmethod
  def 	__lowercase(      cls     :	List[Any]     , *a_     :	int     , **a_     :	List[str]				)->       List[str]:




       """simple docstring"""
       requires_backends(cls     , ['onnx']				)




import math







def     _a				(      lowercase__  :			int ):







     '''simple docstring'''


     assert isinstance(lowercase__     ,  lowercase__ ) 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__				:				Tuple			=		range(3     ,  int(math.sqrt(lowercase__ ) + 1 )     ,  2 )
     return not any(not number % i for i in odd_numbers )







def     _a				(      lowercase__  :			List[str]     ,  lowercase__  :			Any=1     ,  **lowercase__  :			Any ):







     '''simple docstring'''


     SCREAMING_SNAKE_CASE__				:				int			=		factor * value
     SCREAMING_SNAKE_CASE__				:				Dict			=		value

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

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



