






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


snake_case__   :						Any													=   logging.get_logger(__name__)

snake_case__   :						Optional[Any]													=   {
    """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     _a							(	UpperCAmelCase__     ):






  """simple docstring"""





  A_						       = """cvt"""




  def __init__(  self		,		_UpperCAmelCase=3		,		_UpperCAmelCase=[7, 3, 3]		,		_UpperCAmelCase=[4, 2, 2]		,		_UpperCAmelCase=[2, 1, 1]		,		_UpperCAmelCase=[64, 192, 384]		,		_UpperCAmelCase=[1, 3, 6]		,		_UpperCAmelCase=[1, 2, 10]		,		_UpperCAmelCase=[4.0, 4.0, 4.0]		,		_UpperCAmelCase=[0.0, 0.0, 0.0]		,		_UpperCAmelCase=[0.0, 0.0, 0.0]		,		_UpperCAmelCase=[0.0, 0.0, 0.1]		,		_UpperCAmelCase=[True, True, True]		,		_UpperCAmelCase=[False, False, True]		,		_UpperCAmelCase=["dw_bn", "dw_bn", "dw_bn"]		,		_UpperCAmelCase=[3, 3, 3]		,		_UpperCAmelCase=[1, 1, 1]		,		_UpperCAmelCase=[2, 2, 2]		,		_UpperCAmelCase=[1, 1, 1]		,		_UpperCAmelCase=[1, 1, 1]		,		_UpperCAmelCase=0.0_2		,		_UpperCAmelCase=1e-12		,		**_UpperCAmelCase		,		)      ->			Optional[int]:
     super().__init__(**_UpperCAmelCase			)
     UpperCamelCase_						=  num_channels
     UpperCamelCase_						=  patch_sizes
     UpperCamelCase_						=  patch_stride
     UpperCamelCase_						=  patch_padding
     UpperCamelCase_						=  embed_dim
     UpperCamelCase_						=  num_heads
     UpperCamelCase_						=  depth
     UpperCamelCase_						=  mlp_ratio
     UpperCamelCase_						=  attention_drop_rate
     UpperCamelCase_						=  drop_rate
     UpperCamelCase_						=  drop_path_rate
     UpperCamelCase_						=  qkv_bias
     UpperCamelCase_						=  cls_token
     UpperCamelCase_						=  qkv_projection_method
     UpperCamelCase_						=  kernel_qkv
     UpperCamelCase_						=  padding_kv
     UpperCamelCase_						=  stride_kv
     UpperCamelCase_						=  padding_q
     UpperCamelCase_						=  stride_q
     UpperCamelCase_						=  initializer_range
     UpperCamelCase_						=  layer_norm_eps












def   __lowerCamelCase   (				__a  :int       ,	__a  :int       )						->							Optional[Any]:






		"""simple docstring"""

		if b == 0:
				return 1
		if (b % 2) == 0:
				return actual_power(__a       ,	int(b / 2       )       ) * actual_power(__a       ,	int(b / 2       )       )
		else:
				return a * actual_power(__a       ,	int(b / 2       )       ) * actual_power(__a       ,	int(b / 2       )       )







def   __lowerCamelCase   (				__a  :int       ,	__a  :int       )						->							float:






		"""simple docstring"""

		if b < 0:
				return 1 / actual_power(__a       ,	__a       )
		return actual_power(__a       ,	__a       )


if __name__ == "__main__":
					print(power(-2, -3))



