





"""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


a_			=      logging.get_logger(__name__)

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






class 		__snake_case (		SCREAMING_SNAKE_CASE__					):





 """simple docstring"""


 _lowerCamelCase				=					"""efficientnet"""

 def __init__(   self ,						__lowerCamelCase = 3 ,						__lowerCamelCase = 600 ,						__lowerCamelCase = 2.0 ,						__lowerCamelCase = 3.1 ,						__lowerCamelCase = 8 ,						__lowerCamelCase = [3, 3, 5, 3, 5, 5, 3] ,						__lowerCamelCase = [32, 16, 24, 40, 80, 112, 192] ,						__lowerCamelCase = [16, 24, 40, 80, 112, 192, 320] ,						__lowerCamelCase = [] ,						__lowerCamelCase = [1, 2, 2, 2, 1, 2, 1] ,						__lowerCamelCase = [1, 2, 2, 3, 3, 4, 1] ,						__lowerCamelCase = [1, 6, 6, 6, 6, 6, 6] ,						__lowerCamelCase = 0.2_5 ,						__lowerCamelCase = "swish" ,						__lowerCamelCase = 2560 ,						__lowerCamelCase = "mean" ,						__lowerCamelCase = 0.0_2 ,						__lowerCamelCase = 0.0_0_1 ,						__lowerCamelCase = 0.9_9 ,						__lowerCamelCase = 0.5 ,						__lowerCamelCase = 0.2 ,						**__lowerCamelCase ,						):



     '''simple docstring'''




     super().__init__(**__lowerCamelCase  )

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






class 		__snake_case (		SCREAMING_SNAKE_CASE__					):





 """simple docstring"""


 _lowerCamelCase				=					version.parse("""1.11"""					)

 @property
 def  UpperCamelCase__(   self  ):



     '''simple docstring'''




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







 @property
 def  UpperCamelCase__(   self  ):



     '''simple docstring'''




     return 1e-5











"""simple docstring"""



from math import factorial







def 		__lowercase					(       snake_case_  :  int    ,snake_case_  :  int						)       ->int:



    '''simple docstring'''







    if n < k or k < 0:
        raise ValueError('''Please enter positive integers for n and k where n >= k'''						)
    return factorial(snake_case_						) // (factorial(snake_case_						) * factorial(n - k						))


if __name__ == "__main__":
       print(
           """The number of five-card hands possible from a standard""",
           f'''fifty-two card deck is: {combinations(52, 5)}\n''',
       )

       print(
           """If a class of 40 students must be arranged into groups of""",
           f'''4 for group projects, there are {combinations(40, 4)} ways''',
           """to arrange them.\n""",
       )

       print(
           """If 10 teams are competing in a Formula One race, there""",
           f'''are {combinations(10, 3)} ways that first, second and''',
           """third place can be awarded.""",
       )




