

"""simple docstring"""




from ..utils import DummyObject, requires_backends


class 		_A       (			metaclass=__a					):
      __a								=	['flax', 'transformers']





      def __init__(  self    ,						*SCREAMING_SNAKE_CASE__    ,						**SCREAMING_SNAKE_CASE__		)   ->					Any:
         requires_backends(self    ,						["flax", "transformers"]		)





      @classmethod
      def 					_lowerCamelCase  (  cls    ,						*SCREAMING_SNAKE_CASE__    ,						**SCREAMING_SNAKE_CASE__		)   ->					Dict:
         requires_backends(cls    ,						["flax", "transformers"]		)





      @classmethod
      def 					_lowerCamelCase  (  cls    ,						*SCREAMING_SNAKE_CASE__    ,						**SCREAMING_SNAKE_CASE__		)   ->					Union[str, Any]:
         requires_backends(cls    ,						["flax", "transformers"]		)






class 		_A       (			metaclass=__a					):
      __a								=	['flax', 'transformers']





      def __init__(  self    ,						*SCREAMING_SNAKE_CASE__    ,						**SCREAMING_SNAKE_CASE__		)   ->					int:
         requires_backends(self    ,						["flax", "transformers"]		)





      @classmethod
      def 					_lowerCamelCase  (  cls    ,						*SCREAMING_SNAKE_CASE__    ,						**SCREAMING_SNAKE_CASE__		)   ->					Tuple:
         requires_backends(cls    ,						["flax", "transformers"]		)





      @classmethod
      def 					_lowerCamelCase  (  cls    ,						*SCREAMING_SNAKE_CASE__    ,						**SCREAMING_SNAKE_CASE__		)   ->					List[str]:
         requires_backends(cls    ,						["flax", "transformers"]		)






class 		_A       (			metaclass=__a					):
      __a								=	['flax', 'transformers']





      def __init__(  self    ,						*SCREAMING_SNAKE_CASE__    ,						**SCREAMING_SNAKE_CASE__		)   ->					List[str]:
         requires_backends(self    ,						["flax", "transformers"]		)





      @classmethod
      def 					_lowerCamelCase  (  cls    ,						*SCREAMING_SNAKE_CASE__    ,						**SCREAMING_SNAKE_CASE__		)   ->					Optional[int]:
         requires_backends(cls    ,						["flax", "transformers"]		)





      @classmethod
      def 					_lowerCamelCase  (  cls    ,						*SCREAMING_SNAKE_CASE__    ,						**SCREAMING_SNAKE_CASE__		)   ->					Optional[int]:
         requires_backends(cls    ,						["flax", "transformers"]		)






class 		_A       (			metaclass=__a					):
      __a								=	['flax', 'transformers']





      def __init__(  self    ,						*SCREAMING_SNAKE_CASE__    ,						**SCREAMING_SNAKE_CASE__		)   ->					List[str]:
         requires_backends(self    ,						["flax", "transformers"]		)





      @classmethod
      def 					_lowerCamelCase  (  cls    ,						*SCREAMING_SNAKE_CASE__    ,						**SCREAMING_SNAKE_CASE__		)   ->					str:
         requires_backends(cls    ,						["flax", "transformers"]		)





      @classmethod
      def 					_lowerCamelCase  (  cls    ,						*SCREAMING_SNAKE_CASE__    ,						**SCREAMING_SNAKE_CASE__		)   ->					List[str]:
         requires_backends(cls    ,						["flax", "transformers"]		)







"""simple docstring"""




def 	UpperCAmelCase__   (				A__   )      ->      list[int]:




   """simple docstring"""

   if length <= 0 or not isinstance(A__	,    A__   ):
      raise ValueError("Length must be a positive integer."   )
   return [n * (2 * n - 1) for n in range(A__   )]


if __name__ == "__main__":
     print(hexagonal_numbers(length=5))
     print(hexagonal_numbers(length=10))




