
"""simple docstring"""





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


__magic_name__       =			logging.get_logger(__name__)

__magic_name__       =			{
    "facebook/convnextv2-tiny-1k-224": "https://huggingface.co/facebook/convnextv2-tiny-1k-224/resolve/main/config.json",
}
class 						SCREAMING_SNAKE_CASE_ (						__a     ,				__a ):




		"""simple docstring"""





		__lowercase							:  int						   =		'''convnextv2'''




		def __init__(     self							,  lowerCAmelCase__=3							,  lowerCAmelCase__=4							,  lowerCAmelCase__=4							,  lowerCAmelCase__=None							,  lowerCAmelCase__=None							,  lowerCAmelCase__="gelu"							,  lowerCAmelCase__=0.02							,  lowerCAmelCase__=1E-12							,  lowerCAmelCase__=0.0							,  lowerCAmelCase__=2_2_4							,  lowerCAmelCase__=None							,  lowerCAmelCase__=None							,  **lowerCAmelCase__							,  ):
				super().__init__(**lowerCAmelCase__)

				__SCREAMING_SNAKE_CASE            = num_channels
				__SCREAMING_SNAKE_CASE            = patch_size
				__SCREAMING_SNAKE_CASE            = num_stages
				__SCREAMING_SNAKE_CASE            = [9_6, 1_9_2, 3_8_4, 7_6_8] if hidden_sizes is None else hidden_sizes
				__SCREAMING_SNAKE_CASE            = [3, 3, 9, 3] if depths is None else depths
				__SCREAMING_SNAKE_CASE            = hidden_act
				__SCREAMING_SNAKE_CASE            = initializer_range
				__SCREAMING_SNAKE_CASE            = layer_norm_eps
				__SCREAMING_SNAKE_CASE            = drop_path_rate
				__SCREAMING_SNAKE_CASE            = image_size
				__SCREAMING_SNAKE_CASE            = ["""stem"""] + [f"stage{idx}" for idx in range(1							,  len(self.depths) + 1)]
				__SCREAMING_SNAKE_CASE       ,__SCREAMING_SNAKE_CASE            = get_aligned_output_features_output_indices(
				    out_features=lowerCAmelCase__							,  out_indices=lowerCAmelCase__							,  stage_names=self.stage_names)






def 							_lowercase							(     )		->		Optional[int]:
					'''simple docstring'''


					SCREAMING_SNAKE_CASE__													= []
					SCREAMING_SNAKE_CASE__													= 1

					while len(UpperCamelCase_		) < 1e6:
										constant.append(str(UpperCamelCase_		)		)
										i += 1

					SCREAMING_SNAKE_CASE__													= ''.join(UpperCamelCase_		)

					return (
					    int(constant[0]		)
					    * int(constant[9]		)
					    * int(constant[99]		)
					    * int(constant[999]		)
					    * int(constant[9999]		)
					    * int(constant[99999]		)
					    * int(constant[999999]		)
					)


if __name__ == "__main__":
				print(solution())





