






"""simple docstring"""



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


_UpperCamelCase		:  Optional[Any]						=		logging.get_logger(__name__)

_UpperCamelCase		:  int						=		{
    'apple/mobilevitv2-1.0': 'https://huggingface.co/apple/mobilevitv2-1.0/resolve/main/config.json',
}

class 	a					(       a_     ):
    UpperCAmelCase_			:					Optional[Any]     					="mobilevitv2"







    def __init__(      self							,		_lowerCamelCase=3							,		_lowerCamelCase=2_5_6							,		_lowerCamelCase=2							,		_lowerCamelCase=2.0							,		_lowerCamelCase="swish"							,		_lowerCamelCase=3							,		_lowerCamelCase=3_2							,		_lowerCamelCase=0.1							,		_lowerCamelCase=0.0_2							,		_lowerCamelCase=1e-5							,		_lowerCamelCase=5_1_2							,		_lowerCamelCase=[6, 1_2, 1_8]							,		_lowerCamelCase=0.1							,		_lowerCamelCase=2_5_5							,		_lowerCamelCase=[2, 4, 3]							,		_lowerCamelCase=[1_2_8, 1_9_2, 2_5_6]							,		_lowerCamelCase=1.0							,		_lowerCamelCase=2							,		_lowerCamelCase=0.0							,		_lowerCamelCase=0.0							,		**_lowerCamelCase							,		):
      super().__init__(**_lowerCamelCase	)

      lowercase							   =	num_channels
      lowercase							   =	image_size
      lowercase							   =	patch_size
      lowercase							   =	expand_ratio
      lowercase							   =	hidden_act
      lowercase							   =	conv_kernel_size
      lowercase							   =	output_stride
      lowercase							   =	initializer_range
      lowercase							   =	layer_norm_eps
      lowercase							   =	n_attn_blocks
      lowercase							   =	base_attn_unit_dims
      lowercase							   =	width_multiplier
      lowercase							   =	ffn_multiplier
      lowercase							   =	ffn_dropout
      lowercase							   =	attn_dropout
      lowercase							   =	classifier_dropout_prob

      # decode head attributes for semantic segmentation
      lowercase							   =	aspp_out_channels
      lowercase							   =	atrous_rates
      lowercase							   =	aspp_dropout_prob
      lowercase							   =	semantic_loss_ignore_index


class 	a					(       a_     ):
    UpperCAmelCase_			:					List[str]     					=version.parse("1.11"     )







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







    @property
    def       UpperCamelCase_				(      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       UpperCamelCase_				(      self	):
      return 1e-4










"""simple docstring"""



_UpperCamelCase		:  str						=		1_0**8
def 						_SCREAMING_SNAKE_CASE			(   __snake_case      :  int   ):





  '''simple docstring'''





  if n % 10 == 0:
    return False
  lowercase							   =	str(__snake_case   )
  return s == s[::-1]
def 						_SCREAMING_SNAKE_CASE			(   ):





  '''simple docstring'''





  lowercase							   =	set()
  lowercase							   =	1
  lowercase							   =	5
  while sum_squares < LIMIT:
    lowercase							   =	first_square + 1
    while sum_squares < LIMIT:
      if is_palindrome(__snake_case   ):
        answer.add(__snake_case   )
      last_square += 1
      sum_squares += last_square**2
    first_square += 1
    lowercase							   =	first_square**2 + (first_square + 1) ** 2

  return sum(__snake_case   )


if __name__ == "__main__":
    print(solution())


