


"""simple docstring"""




from ...configuration_utils import PretrainedConfig
from ...utils import logging


__SCREAMING_SNAKE_CASE      		=    logging.get_logger(__name__)

__SCREAMING_SNAKE_CASE      		=    {
    """microsoft/cvt-13""": """https://huggingface.co/microsoft/cvt-13/resolve/main/config.json""",
    # See all Cvt models at https://huggingface.co/models?filter=cvt
}





class __snake_case		(       lowerCAmelCase__   ):







   """simple docstring"""




   lowerCAmelCase_					: List[Any]  						=      'cvt'




   def __init__(		self				:List[str]					,	UpperCamelCase__				:Any=3					,	UpperCamelCase__				:Dict=[7, 3, 3]					,	UpperCamelCase__				:Union[str, Any]=[4, 2, 2]					,	UpperCamelCase__				:str=[2, 1, 1]					,	UpperCamelCase__				:Optional[Any]=[64, 192, 384]					,	UpperCamelCase__				:int=[1, 3, 6]					,	UpperCamelCase__				:Tuple=[1, 2, 10]					,	UpperCamelCase__				:Union[str, Any]=[4.0, 4.0, 4.0]					,	UpperCamelCase__				:str=[0.0, 0.0, 0.0]					,	UpperCamelCase__				:Any=[0.0, 0.0, 0.0]					,	UpperCamelCase__				:Dict=[0.0, 0.0, 0.1]					,	UpperCamelCase__				:List[str]=[True, True, True]					,	UpperCamelCase__				:List[str]=[False, False, True]					,	UpperCamelCase__				:str=["dw_bn", "dw_bn", "dw_bn"]					,	UpperCamelCase__				:List[Any]=[3, 3, 3]					,	UpperCamelCase__				:List[str]=[1, 1, 1]					,	UpperCamelCase__				:Optional[int]=[2, 2, 2]					,	UpperCamelCase__				:int=[1, 1, 1]					,	UpperCamelCase__				:int=[1, 1, 1]					,	UpperCamelCase__				:Optional[int]=0.02					,	UpperCamelCase__				:Dict=1E-12					,	**UpperCamelCase__				:Dict					,	):
          super().__init__(**__UpperCAmelCase							)
          _a							 =					num_channels
          _a							 =					patch_sizes
          _a							 =					patch_stride
          _a							 =					patch_padding
          _a							 =					embed_dim
          _a							 =					num_heads
          _a							 =					depth
          _a							 =					mlp_ratio
          _a							 =					attention_drop_rate
          _a							 =					drop_rate
          _a							 =					drop_path_rate
          _a							 =					qkv_bias
          _a							 =					cls_token
          _a							 =					qkv_projection_method
          _a							 =					kernel_qkv
          _a							 =					padding_kv
          _a							 =					stride_kv
          _a							 =					padding_q
          _a							 =					stride_q
          _a							 =					initializer_range
          _a							 =					layer_norm_eps





from __future__ import annotations





def 		a__      (		_UpperCamelCase      :			int | float | str			,_UpperCamelCase      :			int | float | str				):
   if nth_term == "":
      return [""]
   __lowerCamelCase    				=     int(_UpperCamelCase				)
   __lowerCamelCase    				=     int(_UpperCamelCase				)
   __lowerCamelCase    				=     []
   for temp in range(int(_UpperCamelCase				)				):
      series.append(F"""1 / {pow(temp + 1			,int(_UpperCamelCase				)				)}""" if series else '''1'''				)
   return series


if __name__ == "__main__":
  import doctest

  doctest.testmod()

  a_								=       int(input("""Enter the last number (nth term) of the P-Series"""))
  a_								=       int(input("""Enter the power for  P-Series"""))
  print("""Formula of P-Series => 1+1/2^p+1/3^p ..... 1/n^p""")
  print(p_series(nth_term, power))






