



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


__snake_case						:List[Any]      		=     logging.get_logger(__name__)

__snake_case						:Dict      		=     {
    '''google/mobilenet_v2_1.4_224''': '''https://huggingface.co/google/mobilenet_v2_1.4_224/resolve/main/config.json''',
    '''google/mobilenet_v2_1.0_224''': '''https://huggingface.co/google/mobilenet_v2_1.0_224/resolve/main/config.json''',
    '''google/mobilenet_v2_0.75_160''': '''https://huggingface.co/google/mobilenet_v2_0.75_160/resolve/main/config.json''',
    '''google/mobilenet_v2_0.35_96''': '''https://huggingface.co/google/mobilenet_v2_0.35_96/resolve/main/config.json''',
    # See all MobileNetV2 models at https://huggingface.co/models?filter=mobilenet_v2
}

class     _A       (	__UpperCAmelCase    ):
       UpperCamelCase__  :    Tuple											=						'''mobilenet_v2'''



       def __init__(		self							:     List[str]     ,		__SCREAMING_SNAKE_CASE							:     Tuple=3     ,		__SCREAMING_SNAKE_CASE							:     int=224     ,		__SCREAMING_SNAKE_CASE							:     Optional[int]=1.0     ,		__SCREAMING_SNAKE_CASE							:     Union[str, Any]=8     ,		__SCREAMING_SNAKE_CASE							:     List[Any]=8     ,		__SCREAMING_SNAKE_CASE							:     int=6     ,		__SCREAMING_SNAKE_CASE							:     Dict=32     ,		__SCREAMING_SNAKE_CASE							:     List[Any]=True     ,		__SCREAMING_SNAKE_CASE							:     Dict=True     ,		__SCREAMING_SNAKE_CASE							:     Dict="relu6"     ,		__SCREAMING_SNAKE_CASE							:     Dict=True     ,		__SCREAMING_SNAKE_CASE							:     Dict=0.8     ,		__SCREAMING_SNAKE_CASE							:     Dict=0.02     ,		__SCREAMING_SNAKE_CASE							:     Dict=0.0_01     ,		__SCREAMING_SNAKE_CASE							:     Dict=255     ,		**__SCREAMING_SNAKE_CASE							:     Optional[int]     ,		):


           '''simple docstring'''

           super().__init__(**__SCREAMING_SNAKE_CASE)

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

           __a						       =				num_channels
           __a						       =				image_size
           __a						       =				depth_multiplier
           __a						       =				depth_divisible_by
           __a						       =				min_depth
           __a						       =				expand_ratio
           __a						       =				output_stride
           __a						       =				first_layer_is_expansion
           __a						       =				finegrained_output
           __a						       =				hidden_act
           __a						       =				tf_padding
           __a						       =				classifier_dropout_prob
           __a						       =				initializer_range
           __a						       =				layer_norm_eps
           __a						       =				semantic_loss_ignore_index


class     _A       (	__UpperCAmelCase    ):
       UpperCamelCase__  :    Any											=						version.parse('''1.11'''    )



       @property
       def 		_lowerCamelCase			(		self							:     Dict):


           '''simple docstring'''

           return OrderedDict([('''pixel_values''', {0: '''batch'''})])



       @property
       def 		_lowerCamelCase			(		self							:     Optional[Any]):


           '''simple docstring'''

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





       @property
       def 		_lowerCamelCase			(		self							:     Union[str, Any]):


           '''simple docstring'''

           return 1E-4







'''simple docstring'''







from collections import defaultdict
from math import gcd







def 				SCREAMING_SNAKE_CASE__	(   __A = 1_500_000	)       ->	int:
	_snake_case   						=		defaultdict(__A	)
	_snake_case   						=		2
	while 2 * euclid_m * (euclid_m + 1) <= limit:
		for euclid_n in range((euclid_m % 2) + 1			,				__A			,				2	):
			if gcd(__A			,				__A	) > 1:
				continue
			_snake_case   						=		2 * euclid_m * (euclid_m + euclid_n)
			for perimeter in range(__A			,				limit + 1			,				__A	):
				frequencies[perimeter] += 1
		euclid_m += 1
	return sum(1 for frequency in frequencies.values() if frequency == 1	)


if __name__ == "__main__":
					print(F'''{solution() = }''')

