


"""simple docstring"""







from collections import OrderedDict
from typing import List, Mapping

from packaging import version

from ...configuration_utils import PretrainedConfig
from ...onnx import OnnxConfig
from ...utils import logging


lowerCAmelCase__      				=   logging.get_logger(__name__)

lowerCAmelCase__      				=   {
    "google/efficientnet-b7": "https://huggingface.co/google/efficientnet-b7/resolve/main/config.json",
}


class       SCREAMING_SNAKE_CASE__				(		lowerCAmelCase_				):
       """simple docstring"""


       a  :				int   ="efficientnet"

       def __init__(						self		,     snake_case__ = 3		,     snake_case__ = 600		,     snake_case__ = 2.0		,     snake_case__ = 3.1		,     snake_case__ = 8		,     snake_case__ = [3, 3, 5, 3, 5, 5, 3]		,     snake_case__ = [32, 16, 24, 40, 80, 112, 192]		,     snake_case__ = [16, 24, 40, 80, 112, 192, 320]		,     snake_case__ = []		,     snake_case__ = [1, 2, 2, 2, 1, 2, 1]		,     snake_case__ = [1, 2, 2, 3, 3, 4, 1]		,     snake_case__ = [1, 6, 6, 6, 6, 6, 6]		,     snake_case__ = 0.25		,     snake_case__ = "swish"		,     snake_case__ = 2_560		,     snake_case__ = "mean"		,     snake_case__ = 0.02		,     snake_case__ = 0.001		,     snake_case__ = 0.99		,     snake_case__ = 0.5		,     snake_case__ = 0.2		,     **snake_case__		,     ):






         """simple docstring"""





         super().__init__(**__snake_case						)

         lowerCAmelCase     :     Union[str, Any]								=							num_channels
         lowerCAmelCase     :     Tuple								=							image_size
         lowerCAmelCase     :     List[str]								=							width_coefficient
         lowerCAmelCase     :     List[Any]								=							depth_coefficient
         lowerCAmelCase     :     Tuple								=							depth_divisor
         lowerCAmelCase     :     Optional[Any]								=							kernel_sizes
         lowerCAmelCase     :     Union[str, Any]								=							in_channels
         lowerCAmelCase     :     Optional[int]								=							out_channels
         lowerCAmelCase     :     Optional[int]								=							depthwise_padding
         lowerCAmelCase     :     List[str]								=							strides
         lowerCAmelCase     :     List[str]								=							num_block_repeats
         lowerCAmelCase     :     int								=							expand_ratios
         lowerCAmelCase     :     Union[str, Any]								=							squeeze_expansion_ratio
         lowerCAmelCase     :     Tuple								=							hidden_act
         lowerCAmelCase     :     Optional[Any]								=							hidden_dim
         lowerCAmelCase     :     str								=							pooling_type
         lowerCAmelCase     :     Dict								=							initializer_range
         lowerCAmelCase     :     List[str]								=							batch_norm_eps
         lowerCAmelCase     :     int								=							batch_norm_momentum
         lowerCAmelCase     :     Optional[Any]								=							dropout_rate
         lowerCAmelCase     :     Dict								=							drop_connect_rate
         lowerCAmelCase     :     Optional[Any]								=							sum(__snake_case						) * 4


class       SCREAMING_SNAKE_CASE__				(		lowerCAmelCase_				):
       """simple docstring"""


       a  :				List[Any]   =version.parse("1.11"				)

       @property
       def        lowercase__							(						self						):






         """simple docstring"""





         return OrderedDict(
             [
                 ("pixel_values", {0: "batch", 1: "num_channels", 2: "height", 3: "width"}),
             ]						)







       @property
       def        lowercase__							(						self						):






         """simple docstring"""





         return 1e-5








import warnings

from ...utils import logging
from .image_processing_clip import CLIPImageProcessor


_lowerCAmelCase					:			str  				=			logging.get_logger(__name__)






class 	__magic_name__    (			lowerCAmelCase_      ):





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




						'''simple docstring'''
						warnings.warn(
						    'The class CLIPFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'
						    ' use CLIPImageProcessor instead.'					,  __snake_case					,  )
						super().__init__(*__snake_case					,  **__snake_case					)






