
"""simple docstring"""





from ...configuration_utils import PretrainedConfig
from ...utils import logging
from ...utils.backbone_utils import BackboneConfigMixin, get_aligned_output_features_output_indices


_a														=		logging.get_logger(__name__)

_a														=		{
    """facebook/convnextv2-tiny-1k-224""": """https://huggingface.co/facebook/convnextv2-tiny-1k-224/resolve/main/config.json""",
}






class    _UpperCAmelCase(   lowerCamelCase				,					lowerCamelCase     ):
		lowercase__      =				'convnextv2'



		def __init__( self    ,		__a=3    ,		__a=4    ,		__a=4    ,		__a=None    ,		__a=None    ,		__a="gelu"    ,		__a=0.02    ,		__a=1e-12    ,		__a=0.0    ,		__a=2_24    ,		__a=None    ,		__a=None    ,		**__a    ,		)	->	int:






							'''simple docstring'''
							super().__init__(**__a)

							_UpperCamelCase										=  num_channels
							_UpperCamelCase										=  patch_size
							_UpperCamelCase										=  num_stages
							_UpperCamelCase										=  [96, 1_92, 3_84, 7_68] if hidden_sizes is None else hidden_sizes
							_UpperCamelCase										=  [3, 3, 9, 3] if depths is None else depths
							_UpperCamelCase										=  hidden_act
							_UpperCamelCase										=  initializer_range
							_UpperCamelCase										=  layer_norm_eps
							_UpperCamelCase										=  drop_path_rate
							_UpperCamelCase										=  image_size
							_UpperCamelCase										=  ['''stem'''] + [F'''stage{idx}''' for idx in range(1    ,		len(self.depths) + 1)]
							_UpperCamelCase			,  _UpperCamelCase										=  get_aligned_output_features_output_indices(
							    out_features=__a    ,		out_indices=__a    ,		stage_names=self.stage_names)








"""simple docstring"""





from __future__ import annotations



def 				lowerCamelCase__		(      __snake_case,					__snake_case     )							->		Optional[int]:


					"""simple docstring"""





					if len(__snake_case     ) <= 1 or n <= 1:
										return

					insert_next(__snake_case,					n - 1     )
					rec_insertion_sort(__snake_case,					n - 1     )



def 				lowerCamelCase__		(      __snake_case,					__snake_case     )							->		Dict:


					"""simple docstring"""





					if index >= len(__snake_case     ) or collection[index - 1] <= collection[index]:
										return

					# Swaps adjacent elements since they are not in ascending order
					_UpperCamelCase			,  _UpperCamelCase										=  (
					    collection[index],
					    collection[index - 1],
					)

					insert_next(__snake_case,					index + 1     )


if __name__ == "__main__":
				_a														=		input("""Enter integers separated by spaces: """)
				_a														=		[int(num) for num in numbers.split()]
				rec_insertion_sort(number_list, len(number_list))
				print(number_list)






