
"""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


_A			:       Union[str, Any]   		=       logging.get_logger(__name__)

_A			:       Dict   		=       {
    """facebook/data2vec-vision-base-ft""": (
        """https://huggingface.co/facebook/data2vec-vision-base-ft/resolve/main/config.json"""
    ),
}

class 		a__						(      a_						):
   __lowerCAmelCase            =				"""data2vec-vision"""
   def __init__(			self	,    _a=768	,    _a=12	,    _a=12	,    _a=3_072	,    _a="gelu"	,    _a=0.0	,    _a=0.0	,    _a=0.0_2	,    _a=1E-12	,    _a=224	,    _a=16	,    _a=3	,    _a=False	,    _a=False	,    _a=False	,    _a=False	,    _a=0.1	,    _a=0.1	,    _a=True	,    _a=[3, 5, 7, 11]	,    _a=[1, 2, 3, 6]	,    _a=True	,    _a=0.4	,    _a=256	,    _a=1	,    _a=False	,    _a=255	,    **_a	,    ):
          super().__init__(**_a				)

          lowercase    :				List[str]       		=							hidden_size
          lowercase    :				Union[str, Any]       		=							num_hidden_layers
          lowercase    :				Union[str, Any]       		=							num_attention_heads
          lowercase    :				Tuple       		=							intermediate_size
          lowercase    :				str       		=							hidden_act
          lowercase    :				Optional[int]       		=							hidden_dropout_prob
          lowercase    :				Optional[int]       		=							attention_probs_dropout_prob
          lowercase    :				Optional[Any]       		=							initializer_range
          lowercase    :				Tuple       		=							layer_norm_eps

          lowercase    :				List[str]       		=							image_size
          lowercase    :				str       		=							patch_size
          lowercase    :				str       		=							num_channels
          lowercase    :				str       		=							use_mask_token
          lowercase    :				Optional[Any]       		=							use_absolute_position_embeddings
          lowercase    :				Optional[int]       		=							use_relative_position_bias
          lowercase    :				Union[str, Any]       		=							use_shared_relative_position_bias
          lowercase    :				Union[str, Any]       		=							layer_scale_init_value
          lowercase    :				Dict       		=							drop_path_rate
          lowercase    :				Dict       		=							use_mean_pooling
          # decode head attributes (semantic segmentation)
          lowercase    :				Tuple       		=							out_indices
          lowercase    :				List[Any]       		=							pool_scales
          # auxiliary head attributes (semantic segmentation)
          lowercase    :				str       		=							use_auxiliary_head
          lowercase    :				Any       		=							auxiliary_loss_weight
          lowercase    :				Optional[Any]       		=							auxiliary_channels
          lowercase    :				str       		=							auxiliary_num_convs
          lowercase    :				int       		=							auxiliary_concat_input
          lowercase    :				Optional[Any]       		=							semantic_loss_ignore_index


class 		a__						(      a_						):
   __lowerCAmelCase            =				version.parse("""1.11"""						)
   @property
   def 			__magic_name__			(			self				):
          return OrderedDict(
              [
                  ("pixel_values", {0: "batch", 1: "num_channels", 2: "height", 3: "width"}),
              ]				)

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




"""simple docstring"""




def   __magic_name__	(      __snake_case				:       int     , __snake_case				:       int     , __snake_case				:       int  ) ->				float:
       lowercase    :				List[Any]       		=							(num_of_terms / 2) * (2 * first_term + (num_of_terms - 1) * common_diff)
       # formula for sum of series
       return total


def   __magic_name__	(      ) ->				int:
       print(sum_of_series(1     , 1     , 10  )  )


if __name__ == "__main__":
   import doctest

   doctest.testmod()


