
"""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_							=					logging.get_logger(__name__)

UpperCamelCase_							=					{
    'google/vit-base-patch16-224': 'https://huggingface.co/vit-base-patch16-224/resolve/main/config.json',
    # See all ViT models at https://huggingface.co/models?filter=vit
}





class 				snake_case    (			SCREAMING_SNAKE_CASE_						):
   a_ :						Optional[int]			 =			"""vit"""







   def __init__(      self    ,				__UpperCAmelCase=7_68    ,				__UpperCAmelCase=12    ,				__UpperCAmelCase=12    ,				__UpperCAmelCase=30_72    ,				__UpperCAmelCase="gelu"    ,				__UpperCAmelCase=0.0    ,				__UpperCAmelCase=0.0    ,				__UpperCAmelCase=0.02    ,				__UpperCAmelCase=1E-12    ,				__UpperCAmelCase=2_24    ,				__UpperCAmelCase=16    ,				__UpperCAmelCase=3    ,				__UpperCAmelCase=True    ,				__UpperCAmelCase=16    ,				**__UpperCAmelCase    ,				)					->Tuple:
      super().__init__(**__UpperCAmelCase)

      a_							=			hidden_size
      a_							=			num_hidden_layers
      a_							=			num_attention_heads
      a_							=			intermediate_size
      a_							=			hidden_act
      a_							=			hidden_dropout_prob
      a_							=			attention_probs_dropout_prob
      a_							=			initializer_range
      a_							=			layer_norm_eps
      a_							=			image_size
      a_							=			patch_size
      a_							=			num_channels
      a_							=			qkv_bias
      a_							=			encoder_stride






class 				snake_case    (			SCREAMING_SNAKE_CASE_						):
   a_ :						int			 =			version.parse("""1.11"""						)







   @property
   def 					UpperCAmelCase__     (      self)					->List[Any]:
      return OrderedDict(
          [
              ("pixel_values", {0: "batch", 1: "num_channels", 2: "height", 3: "width"}),
          ])







   @property
   def 					UpperCAmelCase__     (      self)					->str:
      return 1E-4

def  lowerCAmelCase__			(  SCREAMING_SNAKE_CASE_     )				->		list:

			if len(SCREAMING_SNAKE_CASE_     ) <= 1:
						return [tuple(SCREAMING_SNAKE_CASE_     )]

			lowerCAmelCase__      :      Optional[Any]         =		[]

			def generate(SCREAMING_SNAKE_CASE_       ,							SCREAMING_SNAKE_CASE_     ):
						if k == 1:
									res.append(tuple(arr[:]     )     )
									return

						generate(k - 1       ,							SCREAMING_SNAKE_CASE_     )

						for i in range(k - 1     ):
									if k % 2 == 0:  # k is even
												lowerCAmelCase__      ,				lowerCAmelCase__      :      str         =		arr[k - 1], arr[i]
									else:  # k is odd
												lowerCAmelCase__      ,				lowerCAmelCase__      :      Union[str, Any]         =		arr[k - 1], arr[0]
									generate(k - 1       ,							SCREAMING_SNAKE_CASE_     )

			generate(len(SCREAMING_SNAKE_CASE_     )       ,							SCREAMING_SNAKE_CASE_     )
			return res


if __name__ == "__main__":
					lowerCamelCase__          =		input("""Enter numbers separated by a comma:\n""").strip()
					lowerCamelCase__          =		[int(item) for item in user_input.split(""",""")]
					print(heaps(arr))