


"""simple docstring"""
def 				_snake_case      (   __snake_case							:      int   ):




   """simple docstring"""







   if num <= 0:
      raise ValueError("""Input must be a positive integer"""   )

   _lowerCamelCase	:					Optional[Any]   =		[True] * (num + 1)

   _lowerCamelCase	:					Dict   =		2
   while p * p <= num:
      if primes[p]:
         for i in range(p * p						, num + 1						, __snake_case   ):
            _lowerCamelCase	:					Any   =		False
      p += 1

   return [prime for prime in range(2						, num + 1   ) if primes[prime]]


if __name__ == "__main__":
 import doctest

 doctest.testmod()

 UpperCAmelCase				=						int(input("""Enter a positive integer: """).strip())
 print(prime_sieve_eratosthenes(user_num))


import unittest

from diffusers import FlaxAutoencoderKL
from diffusers.utils import is_flax_available
from diffusers.utils.testing_utils import require_flax

from .test_modeling_common_flax import FlaxModelTesterMixin


if is_flax_available():
     import jax
@require_flax
class SCREAMING_SNAKE_CASE_		(      __lowerCAmelCase  ,     unittest.TestCase		):
   __lowerCAmelCase           =				FlaxAutoencoderKL







   @property
   def 						lowerCamelCase_	(     self						:						Tuple				):





    """simple docstring"""


    UpperCamelCase			  =      4
    UpperCamelCase			  =      3
    UpperCamelCase			  =      (32, 32)

    UpperCamelCase			  =      jax.random.PRNGKey(0				)
    UpperCamelCase			  =      jax.random.uniform(lowerCamelCase_   ,   ((batch_size, num_channels) + sizes)				)

    return {"sample": image, "prng_key": prng_key}







   def 						lowerCamelCase_	(     self						:						str				):





    """simple docstring"""


    UpperCamelCase			  =      {
        """block_out_channels""": [32, 64],
        """in_channels""": 3,
        """out_channels""": 3,
        """down_block_types""": ["""DownEncoderBlock2D""", """DownEncoderBlock2D"""],
        """up_block_types""": ["""UpDecoderBlock2D""", """UpDecoderBlock2D"""],
        """latent_channels""": 4,
    }
    UpperCamelCase			  =      self.dummy_input
    return init_dict, inputs_dict
