



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


UpperCAmelCase :				List[Any]							=logging.get_logger(__name__)

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


class    _lowercase (a_   ):
				'''simple docstring'''







				lowercase__     =    """videomae"""

				def __init__(			self  ,			snake_case__=224  ,			snake_case__=16  ,			snake_case__=3  ,			snake_case__=16  ,			snake_case__=2  ,			snake_case__=768  ,			snake_case__=12  ,			snake_case__=12  ,			snake_case__=3072  ,			snake_case__="gelu"  ,			snake_case__=0.0  ,			snake_case__=0.0  ,			snake_case__=0.02  ,			snake_case__=1e-12  ,			snake_case__=True  ,			snake_case__=True  ,			snake_case__=6  ,			snake_case__=384  ,			snake_case__=4  ,			snake_case__=1536  ,			snake_case__=True  ,			**snake_case__  ,			):

									'''simple docstring'''


									super().__init__(**snake_case__     )

									UpperCamelCase_			= image_size
									UpperCamelCase_			= patch_size
									UpperCamelCase_			= num_channels
									UpperCamelCase_			= num_frames
									UpperCamelCase_			= tubelet_size

									UpperCamelCase_			= hidden_size
									UpperCamelCase_			= num_hidden_layers
									UpperCamelCase_			= num_attention_heads
									UpperCamelCase_			= intermediate_size
									UpperCamelCase_			= hidden_act
									UpperCamelCase_			= hidden_dropout_prob
									UpperCamelCase_			= attention_probs_dropout_prob
									UpperCamelCase_			= initializer_range
									UpperCamelCase_			= layer_norm_eps
									UpperCamelCase_			= qkv_bias
									UpperCamelCase_			= use_mean_pooling

									UpperCamelCase_			= decoder_num_attention_heads
									UpperCamelCase_			= decoder_hidden_size
									UpperCamelCase_			= decoder_num_hidden_layers
									UpperCamelCase_			= decoder_intermediate_size
									UpperCamelCase_			= norm_pix_loss







'''simple docstring'''


from __future__ import annotations




def       A							(      _UpperCAmelCase   :				list[int]						,_UpperCAmelCase   :				int					)  ->				int:


  '''simple docstring'''




  __lowerCAmelCase     ,					__lowerCAmelCase		:    Dict			     =  0, len(_UpperCAmelCase					) - 1
  while start_ind <= end_ind:
    if array[start_ind] == search_item:
      return start_ind
    elif array[end_ind] == search_item:
      return end_ind
    else:
      start_ind += 1
      end_ind -= 1
    # returns -1 if search_item is not found in array
  return -1


if __name__ == "__main__":
    print(double_linear_search(list(range(1_00)), 40))





