



"""simple docstring"""







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


UpperCAmelCase:   List[str]       			=							logging.get_logger(__name__)

UpperCAmelCase:   Optional[int]       			=							{
    """openbmb/cpm-ant-10b""": """https://huggingface.co/openbmb/cpm-ant-10b/blob/main/config.json"""
    # See all CPMAnt models at https://huggingface.co/models?filter=cpmant
}





class    UpperCamelCase     (			snake_case    ):




	"""simple docstring"""
	SCREAMING_SNAKE_CASE_				:    List[Any]		    =   "cpmant"






	def __init__(			self							,UpperCAmelCase_ = 3_07_20							,UpperCAmelCase_ = 40_96							,UpperCAmelCase_ = 32							,UpperCAmelCase_ = 1_28							,UpperCAmelCase_ = 1_02_40							,UpperCAmelCase_ = 48							,UpperCAmelCase_ = 0.0							,UpperCAmelCase_ = 5_12							,UpperCAmelCase_ = 20_48							,UpperCAmelCase_ = 1E-6							,UpperCAmelCase_ = 1.0							,UpperCAmelCase_ = 32							,UpperCAmelCase_ = 32							,UpperCAmelCase_ = 32							,UpperCAmelCase_ = True							,**UpperCAmelCase_							,):
			super().__init__(**UpperCAmelCase_					)
			_lowercase							:      List[str]			=					prompt_types
			_lowercase							:      int			=					prompt_length
			_lowercase							:      Tuple			=					segment_types
			_lowercase							:      Any			=					hidden_size
			_lowercase							:      Union[str, Any]			=					num_attention_heads
			_lowercase							:      Tuple			=					dim_head
			_lowercase							:      Dict			=					dim_ff
			_lowercase							:      List[str]			=					num_hidden_layers
			_lowercase							:      Union[str, Any]			=					position_bias_num_buckets
			_lowercase							:      Any			=					position_bias_max_distance
			_lowercase							:      Tuple			=					dropout_p
			_lowercase							:      List[Any]			=					eps
			_lowercase							:      List[Any]			=					use_cache
			_lowercase							:      str			=					vocab_size
			_lowercase							:      Tuple			=					init_std









import warnings

from ...utils import logging
from .image_processing_mobilenet_va import MobileNetVaImageProcessor


lowercase__      :			Union[str, Any]           =					logging.get_logger(__name__)




class 			a__       (					UpperCamelCase__      ):







     def __init__(	self  ,		*A  ,		**A )  ->    None:



          '''simple docstring'''



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

