'''simple docstring'''





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


UpperCamelCase       :     str			=    logging.get_logger(__name__)

UpperCamelCase       :     List[Any]			=    {
    """MCG-NJU/videomae-base""": """https://huggingface.co/MCG-NJU/videomae-base/resolve/main/config.json""",
}



class   UpperCamelCase					(       a_       ):







    """simple docstring"""





    A     :    str				=			"videomae"





    def __init__(					self     :						List[Any]							,							UpperCAmelCase_     :						int=2_2_4							,							UpperCAmelCase_     :						Union[str, Any]=1_6							,							UpperCAmelCase_     :						Union[str, Any]=3							,							UpperCAmelCase_     :						str=1_6							,							UpperCAmelCase_     :						Optional[Any]=2							,							UpperCAmelCase_     :						Optional[int]=7_6_8							,							UpperCAmelCase_     :						List[Any]=1_2							,							UpperCAmelCase_     :						Tuple=1_2							,							UpperCAmelCase_     :						Optional[int]=3_0_7_2							,							UpperCAmelCase_     :						str="gelu"							,							UpperCAmelCase_     :						Any=0.0							,							UpperCAmelCase_     :						Tuple=0.0							,							UpperCAmelCase_     :						Optional[Any]=0.02							,							UpperCAmelCase_     :						int=1e-12							,							UpperCAmelCase_     :						Optional[int]=True							,							UpperCAmelCase_     :						int=True							,							UpperCAmelCase_     :						List[Any]=6							,							UpperCAmelCase_     :						Optional[int]=3_8_4							,							UpperCAmelCase_     :						List[str]=4							,							UpperCAmelCase_     :						Union[str, Any]=1_5_3_6							,							UpperCAmelCase_     :						Optional[Any]=True							,							**UpperCAmelCase_     :						Union[str, Any]							,							):


         """simple docstring"""







         super().__init__(**UpperCAmelCase_)

         a					:							str							= image_size
         a					:							Union[str, Any]							= patch_size
         a					:							Dict							= num_channels
         a					:							str							= num_frames
         a					:							Any							= tubelet_size

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

         a					:							str							= decoder_num_attention_heads
         a					:							Tuple							= decoder_hidden_size
         a					:							List[Any]							= decoder_num_hidden_layers
         a					:							int							= decoder_intermediate_size
         a					:							List[str]							= norm_pix_loss


'''simple docstring'''





from itertools import count
from math import asin, pi, sqrt






def SCREAMING_SNAKE_CASE__  (				snake_case       :				float  )   ->				float:







     """simple docstring"""
     return (
         (1 - 2 * point) * sqrt(point - point**2  ) + 2 * point + asin(sqrt(1 - point  )  )
     ) / 4






def SCREAMING_SNAKE_CASE__  (				snake_case       :				int  )   ->				float:







     """simple docstring"""
     a					:							List[str]							= (circles_number + 1 - sqrt(2 * circles_number  )) / (
         2 * (circles_number**2 + 1)
     )
     a					:							int							= circles_number * intersection_y

     a					:							List[Any]							= intersection_x * intersection_y / 2
     a					:							List[str]							= circle_bottom_arc_integral(
         1 / 2  ) - circle_bottom_arc_integral(snake_case  )

     return triangle_area + concave_region_area






def SCREAMING_SNAKE_CASE__  (				snake_case       :				float = 1 / 1_000  )   ->				int:







     """simple docstring"""
     a					:							str							= (1 - pi / 4) / 4

     for n in count(1  ):
          if concave_triangle_area(snake_case  ) / l_section_area < fraction:
               return n

     return -1


if __name__ == "__main__":
      print(f'''{solution() = }''')

