
    Z j	                     r    S r SSKJr  SSKJr  SSKJr  SSKJr  \" SS9\ " S	 S
\\5      5       5       r	S
/r
g)zConvNeXT model configuration    )strict   )BackboneConfigMixin)PreTrainedConfig)auto_docstringzfacebook/convnext-tiny-224)
checkpointc                   v  ^  \ rS rSr% SrSrSr\\S'   Sr	\\
\   -  \\\4   -  \S'   Sr\\S'   S	r\
\   \\S
4   -  S-  \S'   Sr\
\   \\S
4   -  S-  \S'   Sr\\S'   Sr\\S'   Sr\\S'   Sr\\S'   Sr\\-  \S'   Sr\\
\   -  \\\4   -  \S'   Sr\
\   S-  \S'   Sr\
\   S-  \S'   U 4S jrSrU =r$ )ConvNextConfig   a  
num_stages (`int`, *optional*, defaults to 4):
    The number of stages in the model.

Example:
```python
>>> from transformers import ConvNextConfig, ConvNextModel

>>> # Initializing a ConvNext convnext-tiny-224 style configuration
>>> configuration = ConvNextConfig()

>>> # Initializing a model (with random weights) from the convnext-tiny-224 style configuration
>>> model = ConvNextModel(configuration)

>>> # Accessing the model configuration
>>> configuration = model.config
```convnextr   num_channels   
patch_size
num_stages)`      i  i   .Nhidden_sizes)r   r   	   r   depthsgelu
hidden_actg{Gz?initializer_rangeg-q=layer_norm_epsgư>layer_scale_init_valueg        drop_path_rate   
image_size_out_features_out_indicesc                   > S/[        S[        U R                  5      S-   5       Vs/ s H  nSU 3PM
     sn-   U l        U R	                  UR                  SS 5      UR                  SS 5      S9  [        TU ]  " S0 UD6  g s  snf )Nstem   stageout_indicesout_features)r$   r%    )rangelenr   stage_names"set_output_features_output_indicespopsuper__post_init__)selfkwargsidx	__class__s      ڄ/root/GenerationalWealth/GenerationalWealth/venv/lib/python3.13/site-packages/transformers/models/convnext/configuration_convnext.pyr-   ConvNextConfig.__post_init__<   s    "8aT[[IY\]I]@^&_@^se}@^&__//

=$7fjjQ_aeFf 	0 	
 	''	 '`s   B)r)   )__name__
__module____qualname____firstlineno____doc__
model_typer   int__annotations__r   listtupler   r   r   r   strr   floatr   r   r   r   r   r   r-   __static_attributes____classcell__)r1   s   @r2   r
   r
      s	   $ JL#45Jd3i%S/15J7JL$s)eCHo-4J1=FDIc3h'$.=J#u#!NE!$(E("%NECK%47Jd3i%S/17&*M49t#*%)L$s)d")( (    r
   N)r8   huggingface_hub.dataclassesr   backbone_utilsr   configuration_utilsr   utilsr   r
   __all__r&   rB   r2   <module>rH      sN    # . 1 3 # 78(((*: ((  9((V 
rB   