
"""simple docstring"""







from ...configuration_utils import PretrainedConfig
from ...utils import logging


lowercase_						    =					logging.get_logger(__name__)

lowercase_						    =					{
    "MCG-NJU/videomae-base": "https://huggingface.co/MCG-NJU/videomae-base/resolve/main/config.json",
}



class 		UpperCAmelCase_	(lowerCAmelCase__						):
 """simple docstring"""




 UpperCamelCase_						:     int				   =    """videomae"""




 def __init__( self       : str     ,   a_       : str=2_24     ,   a_       : Dict=16     ,   a_       : Dict=3     ,   a_       : Optional[int]=16     ,   a_       : List[Any]=2     ,   a_       : int=7_68     ,   a_       : Optional[Any]=12     ,   a_       : Any=12     ,   a_       : Optional[Any]=30_72     ,   a_       : Union[str, Any]="gelu"     ,   a_       : Union[str, Any]=0.0     ,   a_       : List[Any]=0.0     ,   a_       : List[Any]=0.02     ,   a_       : List[Any]=1E-12     ,   a_       : List[Any]=True     ,   a_       : int=True     ,   a_       : Dict=6     ,   a_       : Any=3_84     ,   a_       : Optional[Any]=4     ,   a_       : str=15_36     ,   a_       : int=True     ,   **a_       : Optional[int]     ,   )->					Any:



      """simple docstring"""

      super().__init__(**lowerCAmelCase_ )

      UpperCAmelCase_						:    List[Any]    					=  image_size
      UpperCAmelCase_						:    Optional[Any]    					=  patch_size
      UpperCAmelCase_						:    Dict    					=  num_channels
      UpperCAmelCase_						:    int    					=  num_frames
      UpperCAmelCase_						:    Union[str, Any]    					=  tubelet_size

      UpperCAmelCase_						:    Any    					=  hidden_size
      UpperCAmelCase_						:    List[str]    					=  num_hidden_layers
      UpperCAmelCase_						:    Union[str, Any]    					=  num_attention_heads
      UpperCAmelCase_						:    Any    					=  intermediate_size
      UpperCAmelCase_						:    Optional[Any]    					=  hidden_act
      UpperCAmelCase_						:    Optional[int]    					=  hidden_dropout_prob
      UpperCAmelCase_						:    int    					=  attention_probs_dropout_prob
      UpperCAmelCase_						:    str    					=  initializer_range
      UpperCAmelCase_						:    Optional[int]    					=  layer_norm_eps
      UpperCAmelCase_						:    Any    					=  qkv_bias
      UpperCAmelCase_						:    Tuple    					=  use_mean_pooling

      UpperCAmelCase_						:    str    					=  decoder_num_attention_heads
      UpperCAmelCase_						:    str    					=  decoder_hidden_size
      UpperCAmelCase_						:    Dict    					=  decoder_num_hidden_layers
      UpperCAmelCase_						:    Optional[Any]    					=  decoder_intermediate_size
      UpperCAmelCase_						:    List[str]    					=  norm_pix_loss



"""simple docstring"""







import warnings

from .generation import FlaxGenerationMixin



class 		UpperCAmelCase_	(lowerCamelCase_						):
 """simple docstring"""




 warnings.warn(
     """Importing `FlaxGenerationMixin` from `src/transformers/generation_flax_utils.py` is deprecated and will """
     """be removed in Transformers v5. Import as `from transformers import FlaxGenerationMixin` instead."""  , lowerCamelCase_  , )

