



from collections import OrderedDict
from typing import Mapping

from packaging import version

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


_lowercase     							=						logging.get_logger(__name__)

_lowercase     							=						{
    '''google/mobilenet_v1_1.0_224''': '''https://huggingface.co/google/mobilenet_v1_1.0_224/resolve/main/config.json''',
    '''google/mobilenet_v1_0.75_192''': '''https://huggingface.co/google/mobilenet_v1_0.75_192/resolve/main/config.json''',
    # See all MobileNetV1 models at https://huggingface.co/models?filter=mobilenet_v1
}
class 				__A					( A_      ):
			UpperCamelCase					:Dict     =			'''mobilenet_v1'''





			def __init__(self							,    __magic_name__=3							,    __magic_name__=224							,    __magic_name__=1.0							,    __magic_name__=8							,    __magic_name__="relu6"							,    __magic_name__=True							,    __magic_name__=0.9_99							,    __magic_name__=0.02							,    __magic_name__=0.0_01							,    **__magic_name__							,    ):
						super().__init__(**__magic_name__				)

						if depth_multiplier <= 0:
									raise ValueError("""depth_multiplier must be greater than zero."""				)

						lowerCamelCase__ :      Dict								=		num_channels
						lowerCamelCase__ :      Optional[Any]								=		image_size
						lowerCamelCase__ :      Dict								=		depth_multiplier
						lowerCamelCase__ :      str								=		min_depth
						lowerCamelCase__ :      Any								=		hidden_act
						lowerCamelCase__ :      List[str]								=		tf_padding
						lowerCamelCase__ :      List[str]								=		classifier_dropout_prob
						lowerCamelCase__ :      Any								=		initializer_range
						lowerCamelCase__ :      List[str]								=		layer_norm_eps







class 				__A					( A_      ):
			UpperCamelCase					:Any     =			version.parse('''1.11'''      )





			@property
			def        _snake_case    (self				):
						return OrderedDict([("""pixel_values""", {0: """batch"""})]				)





			@property
			def        _snake_case    (self				):
						if self.task == "image-classification":
									return OrderedDict([("""logits""", {0: """batch"""})]				)
						else:
									return OrderedDict([("""last_hidden_state""", {0: """batch"""}), ("""pooler_output""", {0: """batch"""})]				)





			@property
			def        _snake_case    (self				):
						return 1E-4








def      _A				(UpperCamelCase		:      int      ,			UpperCamelCase		:      int )  ->int:



			'''simple docstring'''







			while b:
						lowerCamelCase__							,lowerCamelCase__ :      int								=		b, a % b
			return a






def      _A				(UpperCamelCase		:      int      ,			UpperCamelCase		:      int )  ->int:



			'''simple docstring'''







			return a if b == 0 else euclidean_gcd_recursive(UpperCamelCase      ,			a % b )






def      _A				()  ->str:



			'''simple docstring'''







			print(f"euclidean_gcd(3, 5) = {euclidean_gcd(3      ,			5 )}" )
			print(f"euclidean_gcd(5, 3) = {euclidean_gcd(5      ,			3 )}" )
			print(f"euclidean_gcd(1, 3) = {euclidean_gcd(1      ,			3 )}" )
			print(f"euclidean_gcd(3, 6) = {euclidean_gcd(3      ,			6 )}" )
			print(f"euclidean_gcd(6, 3) = {euclidean_gcd(6      ,			3 )}" )

			print(f"euclidean_gcd_recursive(3, 5) = {euclidean_gcd_recursive(3      ,			5 )}" )
			print(f"euclidean_gcd_recursive(5, 3) = {euclidean_gcd_recursive(5      ,			3 )}" )
			print(f"euclidean_gcd_recursive(1, 3) = {euclidean_gcd_recursive(1      ,			3 )}" )
			print(f"euclidean_gcd_recursive(3, 6) = {euclidean_gcd_recursive(3      ,			6 )}" )
			print(f"euclidean_gcd_recursive(6, 3) = {euclidean_gcd_recursive(6      ,			3 )}" )


if __name__ == "__main__":
				main()



