



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


_lowerCamelCase   				=			logging.get_logger(__name__)

_lowerCamelCase   				=			{
    'microsoft/cvt-13': 'https://huggingface.co/microsoft/cvt-13/resolve/main/config.json',
    # See all Cvt models at https://huggingface.co/models?filter=cvt
}




class   UpperCamelCase_       (     UpperCamelCase__    ):
							lowerCamelCase_           =					"cvt"


							def __init__(							self    :Any							,				__A    :List[str]=3							,				__A    :Any=[7, 3, 3]							,				__A    :Optional[Any]=[4, 2, 2]							,				__A    :Union[str, Any]=[2, 1, 1]							,				__A    :List[str]=[64, 192, 384]							,				__A    :int=[1, 3, 6]							,				__A    :Any=[1, 2, 10]							,				__A    :Optional[int]=[4.0, 4.0, 4.0]							,				__A    :List[Any]=[0.0, 0.0, 0.0]							,				__A    :Tuple=[0.0, 0.0, 0.0]							,				__A    :Any=[0.0, 0.0, 0.1]							,				__A    :Any=[True, True, True]							,				__A    :Any=[False, False, True]							,				__A    :Dict=["dw_bn", "dw_bn", "dw_bn"]							,				__A    :Optional[Any]=[3, 3, 3]							,				__A    :Dict=[1, 1, 1]							,				__A    :List[str]=[2, 2, 2]							,				__A    :Dict=[1, 1, 1]							,				__A    :int=[1, 1, 1]							,				__A    :Any=0.0_2							,				__A    :Optional[Any]=1E-12							,				**__A    :Union[str, Any]							,				)   ->   str:



									"""simple docstring"""



									super().__init__(**__A		)
									SCREAMING_SNAKE_CASE__			=      num_channels
									SCREAMING_SNAKE_CASE__			=      patch_sizes
									SCREAMING_SNAKE_CASE__			=      patch_stride
									SCREAMING_SNAKE_CASE__			=      patch_padding
									SCREAMING_SNAKE_CASE__			=      embed_dim
									SCREAMING_SNAKE_CASE__			=      num_heads
									SCREAMING_SNAKE_CASE__			=      depth
									SCREAMING_SNAKE_CASE__			=      mlp_ratio
									SCREAMING_SNAKE_CASE__			=      attention_drop_rate
									SCREAMING_SNAKE_CASE__			=      drop_rate
									SCREAMING_SNAKE_CASE__			=      drop_path_rate
									SCREAMING_SNAKE_CASE__			=      qkv_bias
									SCREAMING_SNAKE_CASE__			=      cls_token
									SCREAMING_SNAKE_CASE__			=      qkv_projection_method
									SCREAMING_SNAKE_CASE__			=      kernel_qkv
									SCREAMING_SNAKE_CASE__			=      padding_kv
									SCREAMING_SNAKE_CASE__			=      stride_kv
									SCREAMING_SNAKE_CASE__			=      padding_q
									SCREAMING_SNAKE_CASE__			=      stride_q
									SCREAMING_SNAKE_CASE__			=      initializer_range
									SCREAMING_SNAKE_CASE__			=      layer_norm_eps






import warnings

from ...utils import logging
from .image_processing_layoutlmva import LayoutLMvaImageProcessor


_lowerCamelCase   				=			logging.get_logger(__name__)




class   UpperCamelCase_       (     UpperCamelCase__    ):


							def __init__(							self    :List[Any]							,				*__A    :Tuple							,				**__A    :Dict		)   ->   None:



									"""simple docstring"""



									warnings.warn(
									    """The class LayoutLMv2FeatureExtractor is deprecated and will be removed in version 5 of Transformers."""
									    """ Please use LayoutLMv2ImageProcessor instead."""							,				__A							,				)
									super().__init__(*__A							,				**__A		)