
'''simple docstring'''






def 		A_							(						_lowerCAmelCase :     int					,						_lowerCAmelCase :     int				):



      """simple docstring"""




      while b:
            _lowerCamelCase    ,		_lowerCamelCase					: Optional[Any]		    = b, a % b
      return a







def 		A_							(						_lowerCAmelCase :     int					,						_lowerCAmelCase :     int				):



      """simple docstring"""




      return a if b == 0 else euclidean_gcd_recursive(_lowerCAmelCase					,						a % b				)







def 		A_							(						):



      """simple docstring"""




      print(F'euclidean_gcd(3, 5) = {euclidean_gcd(3					,						5				)}'				)
      print(F'euclidean_gcd(5, 3) = {euclidean_gcd(5					,						3				)}'				)
      print(F'euclidean_gcd(1, 3) = {euclidean_gcd(1					,						3				)}'				)
      print(F'euclidean_gcd(3, 6) = {euclidean_gcd(3					,						6				)}'				)
      print(F'euclidean_gcd(6, 3) = {euclidean_gcd(6					,						3				)}'				)

      print(F'euclidean_gcd_recursive(3, 5) = {euclidean_gcd_recursive(3					,						5				)}'				)
      print(F'euclidean_gcd_recursive(5, 3) = {euclidean_gcd_recursive(5					,						3				)}'				)
      print(F'euclidean_gcd_recursive(1, 3) = {euclidean_gcd_recursive(1					,						3				)}'				)
      print(F'euclidean_gcd_recursive(3, 6) = {euclidean_gcd_recursive(3					,						6				)}'				)
      print(F'euclidean_gcd_recursive(6, 3) = {euclidean_gcd_recursive(6					,						3				)}'				)


if __name__ == "__main__":
 main()
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
