
def 		SCREAMING_SNAKE_CASE__      ( __lowerCAmelCase      ,						__lowerCAmelCase							):



    for index, item in enumerate(__lowerCAmelCase							):
        if item == target:
            return index
    return -1






def 		SCREAMING_SNAKE_CASE__      ( __lowerCAmelCase      ,						__lowerCAmelCase      ,						__lowerCAmelCase      ,						__lowerCAmelCase							):



    if not (0 <= high < len(__lowerCAmelCase							) and 0 <= low < len(__lowerCAmelCase							)):
        raise Exception("Invalid upper or lower bound!"							)
    if high < low:
        return -1
    if sequence[low] == target:
        return low
    if sequence[high] == target:
        return high
    return rec_linear_search(__lowerCAmelCase      ,						low + 1      ,						high - 1      ,						__lowerCAmelCase							)


if __name__ == "__main__":
     __magic_name__           =					input('''Enter numbers separated by comma:\n''').strip()
     __magic_name__           =					[int(item.strip()) for item in user_input.split(''',''')]

     __magic_name__           =					int(input('''Enter a single number to be found in the list:\n''').strip())
     __magic_name__           =					linear_search(sequence, target)
     if result != -1:
          print(F'''linear_search({sequence}, {target}) = {result}''')
     else:
          print(F'''{target} was not found in {sequence}''')





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


__magic_name__           =					logging.get_logger(__name__)

__magic_name__           =					{
    '''MBZUAI/swiftformer-xs''': '''https://huggingface.co/MBZUAI/swiftformer-xs/resolve/main/config.json''',
}




class    _SCREAMING_SNAKE_CASE					( __UpperCamelCase	):
      _A  :						Any      		=       'swiftformer'
      def __init__(     self						,		lowerCamelCase=3						,		lowerCamelCase=[3, 3, 6, 4]						,		lowerCamelCase=[48, 56, 1_12, 2_20]						,		lowerCamelCase=4						,		lowerCamelCase=[True, True, True, True]						,		lowerCamelCase="gelu"						,		lowerCamelCase=3						,		lowerCamelCase=2						,		lowerCamelCase=1						,		lowerCamelCase=0.0						,		lowerCamelCase=True						,		lowerCamelCase=1e-5						,		lowerCamelCase=1e-5						,		**lowerCamelCase						,		):
          super().__init__(**lowerCamelCase	)
          snake_case__  =			num_channels
          snake_case__  =			depths
          snake_case__  =			embed_dims
          snake_case__  =			mlp_ratio
          snake_case__  =			downsamples
          snake_case__  =			hidden_act
          snake_case__  =			down_patch_size
          snake_case__  =			down_stride
          snake_case__  =			down_pad
          snake_case__  =			drop_path_rate
          snake_case__  =			use_layer_scale
          snake_case__  =			layer_scale_init_value
          snake_case__  =			batch_norm_eps





class    _SCREAMING_SNAKE_CASE					( __UpperCamelCase	):
      _A  :						int      		=       version.parse('1.11'	)
      @property
      def A_     (     self	):
          return OrderedDict(
              [
                  ("pixel_values", {0: "batch", 1: "num_channels", 2: "height", 3: "width"}),
              ]	)



      @property
      def A_     (     self	):
          return 1e-4



