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


UpperCamelCase_						:     str	       =							logging.get_logger(__name__)

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




class   __lowercase						(						__snake_case   , __snake_case       ):
	_A       =   """convnextv2"""






	def __init__(self				: Optional[int]      ,	snake_case				: Union[str, Any]=3      ,	snake_case				: Any=4      ,	snake_case				: Tuple=4      ,	snake_case				: List[str]=None      ,	snake_case				: Optional[Any]=None      ,	snake_case				: int="gelu"      ,	snake_case				: Any=0.02      ,	snake_case				: List[str]=1e-12      ,	snake_case				: int=0.0      ,	snake_case				: Dict=224      ,	snake_case				: int=None      ,	snake_case				: List[str]=None      ,	**snake_case				: Union[str, Any]      ,	) ->			Optional[int]:
							super().__init__(**_lowercase    )

							_lowercase       :	str           =   num_channels
							_lowercase       :	str           =   patch_size
							_lowercase       :	List[str]           =   num_stages
							_lowercase       :	Dict           =   [96, 192, 384, 768] if hidden_sizes is None else hidden_sizes
							_lowercase       :	str           =   [3, 3, 9, 3] if depths is None else depths
							_lowercase       :	Any           =   hidden_act
							_lowercase       :	List[Any]           =   initializer_range
							_lowercase       :	Union[str, Any]           =   layer_norm_eps
							_lowercase       :	Any           =   drop_path_rate
							_lowercase       :	List[Any]           =   image_size
							_lowercase       :	int           =   ["stem"] + [F"""stage{idx}""" for idx in range(1      ,	len(self.depths    ) + 1    )]
							_lowercase      ,    _lowercase       :	str           =   get_aligned_output_features_output_indices(
							    out_features=_lowercase      ,	out_indices=_lowercase      ,	stage_names=self.stage_names    )







def 			lowerCAmelCase(      SCREAMING_SNAKE_CASE_ = 4_0_0_0_0_0_0			)->						int:



    """simple docstring"""






    UpperCamelCase_			  =						[0, 1]
    UpperCamelCase_			  =						0
    while fib[i] <= n:
        fib.append(fib[i] + fib[i + 1]			)
        if fib[i + 2] > n:
            break
        i += 1
    UpperCamelCase_			  =						0
    for j in range(len(SCREAMING_SNAKE_CASE_			) - 1			):
        if fib[j] % 2 == 0:
            total += fib[j]

    return total


if __name__ == "__main__":
 print(F'''{solution() = }''')
