code: 
  
  
  
  
  
  
  from ...configuration_utils import PretrainedConfig
  from ...utils import logging
  
  
  lowerCamelCase			:							List[str]       =logging.get_logger(__name__)
  
  lowerCamelCase			:							List[Any]       ={
      '''MCG-NJU/videomae-base''': '''https://huggingface.co/MCG-NJU/videomae-base/resolve/main/config.json''',
  }
  
  
  
  
  
  class     __a						(					A__ ):
   _lowerCAmelCase : List[str] 				=				'''videomae'''
  
  
  
  
  
  
  
   def __init__(	self      :     List[Any]							,     SCREAMING_SNAKE_CASE      :     List[Any]=2_24							,     SCREAMING_SNAKE_CASE      :     int=16							,     SCREAMING_SNAKE_CASE      :     Optional[int]=3							,     SCREAMING_SNAKE_CASE      :     Optional[Any]=16							,     SCREAMING_SNAKE_CASE      :     Dict=2							,     SCREAMING_SNAKE_CASE      :     Dict=7_68							,     SCREAMING_SNAKE_CASE      :     Any=12							,     SCREAMING_SNAKE_CASE      :     Any=12							,     SCREAMING_SNAKE_CASE      :     Dict=30_72							,     SCREAMING_SNAKE_CASE      :     Any="gelu"							,     SCREAMING_SNAKE_CASE      :     int=0.0							,     SCREAMING_SNAKE_CASE      :     Optional[Any]=0.0							,     SCREAMING_SNAKE_CASE      :     Optional[int]=0.0_2							,     SCREAMING_SNAKE_CASE      :     List[str]=1e-1_2							,     SCREAMING_SNAKE_CASE      :     str=True							,     SCREAMING_SNAKE_CASE      :     int=True							,     SCREAMING_SNAKE_CASE      :     Optional[Any]=6							,     SCREAMING_SNAKE_CASE      :     Optional[Any]=3_84							,     SCREAMING_SNAKE_CASE      :     str=4							,     SCREAMING_SNAKE_CASE      :     str=15_36							,     SCREAMING_SNAKE_CASE      :     List[Any]=True							,     **SCREAMING_SNAKE_CASE      :     Dict							,     ):
  
  
        '''simple docstring'''
  
  
  
  
  
  
        super().__init__(**SCREAMING_SNAKE_CASE		)
  
        UpperCamelCase__    :     List[str]        =						image_size
        UpperCamelCase__    :     str        =						patch_size
        UpperCamelCase__    :     List[Any]        =						num_channels
        UpperCamelCase__    :     List[str]        =						num_frames
        UpperCamelCase__    :     int        =						tubelet_size
  
        UpperCamelCase__    :     str        =						hidden_size
        UpperCamelCase__    :     List[str]        =						num_hidden_layers
        UpperCamelCase__    :     str        =						num_attention_heads
        UpperCamelCase__    :     int        =						intermediate_size
        UpperCamelCase__    :     Tuple        =						hidden_act
        UpperCamelCase__    :     Tuple        =						hidden_dropout_prob
        UpperCamelCase__    :     Optional[Any]        =						attention_probs_dropout_prob
        UpperCamelCase__    :     int        =						initializer_range
        UpperCamelCase__    :     Union[str, Any]        =						layer_norm_eps
        UpperCamelCase__    :     Dict        =						qkv_bias
        UpperCamelCase__    :     str        =						use_mean_pooling
  
        UpperCamelCase__    :     Tuple        =						decoder_num_attention_heads
        UpperCamelCase__    :     Any        =						decoder_hidden_size
        UpperCamelCase__    :     List[str]        =						decoder_num_hidden_layers
        UpperCamelCase__    :     List[str]        =						decoder_intermediate_size
        UpperCamelCase__    :     Dict        =						norm_pix_loss
style_context: 
  
  
  
  
  
  
  from __future__ import annotations
  
  from collections.abc import Iterator
  from typing import Any
  
  
  
  
  
  class     __a						:
  
  
  
  
  
  
  
   def __init__(	self      :     str							,     SCREAMING_SNAKE_CASE      :     Any		):
  
  
        '''simple docstring'''
  
  
  
  
  
  
        UpperCamelCase__    :     Any        =						data
        UpperCamelCase__    :     Node | None        =						None
  
  
  
  
  
  
  
   def __str__(	self      :     Union[str, Any]		):
  
  
        '''simple docstring'''
  
  
  
  
  
  
        return F'{self.data}'
  
  
  
  
  
  
  
  class     __a						:
  
  
  
  
  
  
  
   def __init__(	self      :     Optional[int]		):
  
  
        '''simple docstring'''
  
  
  
  
  
  
        UpperCamelCase__    :     Node | None        =						None
        UpperCamelCase__    :     Node | None        =						None
  
  
  
  
  
  
  
   def __iter__(	self      :     str		):
  
  
        '''simple docstring'''
  
  
  
  
  
  
        UpperCamelCase__    :     int        =						self.front
        while node:
             yield node.data
             UpperCamelCase__    :     Any        =						node.next
  
  
  
  
  
  
  
   def __len__(	self      :     Tuple		):
  
  
        '''simple docstring'''
  
  
  
  
  
  
        return len(tuple(iter(self		)		)		)
  
  
  
  
  
  
  
   def __str__(	self      :     Union[str, Any]		):
  
  
        '''simple docstring'''
  
  
  
  
  
  
        return " <- ".join(str(SCREAMING_SNAKE_CASE		) for item in self		)
  
  
  
  
  
  
  
   def       __lowercase      (	self      :     List[str]		):
  
  
        '''simple docstring'''
  
  
  
  
  
  
        return len(self		) == 0
  
  
  
  
  
  
  
   def       __lowercase      (	self      :     Union[str, Any]							,     SCREAMING_SNAKE_CASE      :     Any		):
  
  
        '''simple docstring'''
  
  
  
  
  
  
        UpperCamelCase__    :     int        =						Node(SCREAMING_SNAKE_CASE		)
        if self.is_empty():
             UpperCamelCase__    :     int        =						node
        else:
             assert isinstance(self.rear							,     SCREAMING_SNAKE_CASE		)
             UpperCamelCase__    :     Dict        =						node
             UpperCamelCase__    :     str        =						node
  
  
  
  
  
  
  
   def       __lowercase      (	self      :     Dict		):
  
  
        '''simple docstring'''
  
  
  
  
  
  
        if self.is_empty():
             raise IndexError("dequeue from empty queue"		)
        assert isinstance(self.front							,     SCREAMING_SNAKE_CASE		)
        UpperCamelCase__    :     Optional[int]        =						self.front
        UpperCamelCase__    :     List[str]        =						self.front.next
        if self.front is None:
             UpperCamelCase__    :     List[Any]        =						None
        return node.data
  
  
  
  
  
  
  
   def       __lowercase      (	self      :     str		):
  
  
        '''simple docstring'''
  
  
  
  
  
  
        UpperCamelCase__    :     Optional[int]        =						None
  
  
  if __name__ == "__main__":
   from doctest import testmod
  
   testmod()