






'''simple docstring'''
from ...configuration_utils import PretrainedConfig
from ...utils import logging


a_											=			logging.get_logger(__name__)

a_											=			{
    'alibaba-damo/mgp-str-base': 'https://huggingface.co/alibaba-damo/mgp-str-base/resolve/main/config.json',
}






class   __SCREAMING_SNAKE_CASE   (      _UpperCamelCase					):
 snake_case_					=				'mgp-str'




 def __init__(   self						:				Optional[Any]       ,   __lowercase						:				List[str]=[32, 1_28]       ,   __lowercase						:				Optional[Any]=4       ,   __lowercase						:				int=3       ,   __lowercase						:				str=27       ,   __lowercase						:				Optional[int]=38       ,   __lowercase						:				Union[str, Any]=5_02_57       ,   __lowercase						:				Dict=3_05_22       ,   __lowercase						:				Dict=7_68       ,   __lowercase						:				Dict=12       ,   __lowercase						:				Dict=12       ,   __lowercase						:				List[Any]=4.0       ,   __lowercase						:				Optional[Any]=True       ,   __lowercase						:				Optional[int]=False       ,   __lowercase						:				Tuple=1e-5       ,   __lowercase						:				Tuple=0.0       ,   __lowercase						:				str=0.0       ,   __lowercase						:				Union[str, Any]=0.0       ,   __lowercase						:				Dict=False       ,   __lowercase						:				str=0.02       ,   **__lowercase						:				List[Any]       ,   )						->    List[str]:
       super().__init__(**_UpperCAmelCase   )

       SCREAMING_SNAKE_CASE__  :					Optional[Any]						=image_size
       SCREAMING_SNAKE_CASE__  :					Optional[Any]						=patch_size
       SCREAMING_SNAKE_CASE__  :					Any						=num_channels
       SCREAMING_SNAKE_CASE__  :					Union[str, Any]						=max_token_length
       SCREAMING_SNAKE_CASE__  :					str						=num_character_labels
       SCREAMING_SNAKE_CASE__  :					Any						=num_bpe_labels
       SCREAMING_SNAKE_CASE__  :					Optional[Any]						=num_wordpiece_labels
       SCREAMING_SNAKE_CASE__  :					Union[str, Any]						=hidden_size
       SCREAMING_SNAKE_CASE__  :					Dict						=num_hidden_layers
       SCREAMING_SNAKE_CASE__  :					Optional[int]						=num_attention_heads
       SCREAMING_SNAKE_CASE__  :					Any						=mlp_ratio
       SCREAMING_SNAKE_CASE__  :					Dict						=distilled
       SCREAMING_SNAKE_CASE__  :					int						=layer_norm_eps
       SCREAMING_SNAKE_CASE__  :					Dict						=drop_rate
       SCREAMING_SNAKE_CASE__  :					List[Any]						=qkv_bias
       SCREAMING_SNAKE_CASE__  :					Union[str, Any]						=attn_drop_rate
       SCREAMING_SNAKE_CASE__  :					Union[str, Any]						=drop_path_rate
       SCREAMING_SNAKE_CASE__  :					List[str]						=output_aa_attentions
       SCREAMING_SNAKE_CASE__  :					List[str]						=initializer_range




'''simple docstring'''

import warnings

from ...utils import logging
from .image_processing_deit import DeiTImageProcessor


__lowerCAmelCase		     =  logging.get_logger(__name__)

class       __magic_name__		(       _UpperCamelCase  ):







							def __init__(				self   :			Tuple      ,*_UpperCAmelCase   :			str      ,**_UpperCAmelCase   :			int						):
									warnings.warn(
									    'The class DeiTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'
									    ' use DeiTImageProcessor instead.'      ,_UpperCAmelCase      ,)
									super().__init__(*_UpperCAmelCase      ,**_UpperCAmelCase						)




