






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


SCREAMING_SNAKE_CASE						=	logging.get_logger(__name__)

SCREAMING_SNAKE_CASE						=	{
    '''google/efficientnet-b7''': '''https://huggingface.co/google/efficientnet-b7/resolve/main/config.json''',
}
class UpperCAmelCase_					(    __a				):




      """simple docstring"""




      UpperCamelCase_								=			'''efficientnet'''






      def __init__( self			:		Tuple     ,      UpperCAmelCase			:		int = 3     ,      UpperCAmelCase			:		int = 600     ,      UpperCAmelCase			:		float = 2.0     ,      UpperCAmelCase			:		float = 3.1     ,      UpperCAmelCase			:		int = 8     ,      UpperCAmelCase			:		List[int] = [3, 3, 5, 3, 5, 5, 3]     ,      UpperCAmelCase			:		List[int] = [32, 16, 24, 40, 80, 112, 192]     ,      UpperCAmelCase			:		List[int] = [16, 24, 40, 80, 112, 192, 320]     ,      UpperCAmelCase			:		List[int] = []     ,      UpperCAmelCase			:		List[int] = [1, 2, 2, 2, 1, 2, 1]     ,      UpperCAmelCase			:		List[int] = [1, 2, 2, 3, 3, 4, 1]     ,      UpperCAmelCase			:		List[int] = [1, 6, 6, 6, 6, 6, 6]     ,      UpperCAmelCase			:		float = 0.2_5     ,      UpperCAmelCase			:		str = "swish"     ,      UpperCAmelCase			:		int = 2560     ,      UpperCAmelCase			:		str = "mean"     ,      UpperCAmelCase			:		float = 0.0_2     ,      UpperCAmelCase			:		float = 0.0_0_1     ,      UpperCAmelCase			:		float = 0.9_9     ,      UpperCAmelCase			:		float = 0.5     ,      UpperCAmelCase			:		float = 0.2     ,      **UpperCAmelCase			:		Optional[Any]     ,      )  ->  int:


       '''simple docstring'''

       super().__init__(**snake_case__		)

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





class UpperCAmelCase_					(    __a				):




      """simple docstring"""




      UpperCamelCase_								=			version.parse('''1.11'''				)






      @property
      def 				A__      ( self			:		Tuple		)  ->  Any:


       '''simple docstring'''

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






      @property
      def 				A__      ( self			:		Optional[int]		)  ->  int:


       '''simple docstring'''

       return 1e-5











'''simple docstring'''



import re


def 							lowercase_				(    __A :       str			)       ->      bool:



 """simple docstring"""




 lowercase					:   Any				  =re.compile(R'''^(\+91[\-\s]?)?[0]?(91)?[789]\d{9}$'''			)
 if match := re.search(__A					,      __A			):
  return match.string == phone
 return False


if __name__ == "__main__":
      print(indian_phone_validator('+918827897895'))



