


class 	lowerCamelCase_       :



					'''simple docstring'''







					def __init__(				self ,       snake_case_						)   ->			Any:







								'''simple docstring'''

								__lowercase 					=   arr.split(''','''						)






					def A      (				self						)   ->			Any:







								'''simple docstring'''

								__lowercase 					=   [int(self.array[0]						)] * len(self.array						)
								__lowercase 					=   [int(self.array[0]						)] * len(self.array						)
								for i in range(1 ,       len(self.array						)						):
											__lowercase 					=   max(
											    int(self.array[i]						) + sum_value[i - 1] ,       int(self.array[i]						)						)
											__lowercase 					=   max(sum_value[i] ,       rear[i - 1]						)
								return rear[len(self.array						) - 1]


if __name__ == "__main__":
	a : Dict		=				input('''please input some numbers:''')
	a : int		=				SubArray(whole_array)
	a : List[Any]		=				array.solve_sub_array()
	print(('''the results is:''', re))






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 	lowerCamelCase_       (				lowerCAmelCase__     ,     unittest.TestCase				):



					'''simple docstring'''







					__UpperCAmelCase            =				FlaxAutoencoderKL






					@property
					def A      (				self						)   ->			Optional[int]:







								'''simple docstring'''

								__lowercase 					=   4
								__lowercase 					=   3
								__lowercase 					=   (3_2, 3_2)

								__lowercase 					=   jax.random.PRNGKey(0						)
								__lowercase 					=   jax.random.uniform(snake_case_ ,       ((batch_size, num_channels) + sizes)						)

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






					def A      (				self						)   ->			Any:







								'''simple docstring'''

								__lowercase 					=   {
								    '''block_out_channels''': [3_2, 6_4],
								    '''in_channels''': 3,
								    '''out_channels''': 3,
								    '''down_block_types''': ['''DownEncoderBlock2D''', '''DownEncoderBlock2D'''],
								    '''up_block_types''': ['''UpDecoderBlock2D''', '''UpDecoderBlock2D'''],
								    '''latent_channels''': 4,
								}
								__lowercase 					=   self.dummy_input
								return init_dict, inputs_dict


