


'''simple docstring'''





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


__lowerCamelCase												=						logging.get_logger(__name__)

__lowerCamelCase												=						{
    '''facebook/timesformer''': '''https://huggingface.co/facebook/timesformer/resolve/main/config.json''',
}




class 				UpperCAmelCase			(			_snake_case						):
 UpperCAmelCase				=					"timesformer"


 def __init__(      self							:	List[str]			,       __lowerCamelCase							:	Optional[int]=2_2_4			,       __lowerCamelCase							:	List[str]=1_6			,       __lowerCamelCase							:	Optional[Any]=3			,       __lowerCamelCase							:	Optional[int]=8			,       __lowerCamelCase							:	Optional[Any]=7_6_8			,       __lowerCamelCase							:	Tuple=1_2			,       __lowerCamelCase							:	Optional[Any]=1_2			,       __lowerCamelCase							:	Any=3_0_7_2			,       __lowerCamelCase							:	Any="gelu"			,       __lowerCamelCase							:	Dict=0.0			,       __lowerCamelCase							:	Optional[int]=0.0			,       __lowerCamelCase							:	List[Any]=0.02			,       __lowerCamelCase							:	Optional[Any]=1e-6			,       __lowerCamelCase							:	Optional[Any]=True			,       __lowerCamelCase							:	List[Any]="divided_space_time"			,       __lowerCamelCase							:	Any=0			,       **__lowerCamelCase							:	str			,       ):
    super().__init__(**__lowerCamelCase )

    UpperCAmelCase__	:Optional[int]      =      image_size
    UpperCAmelCase__	:Any      =      patch_size
    UpperCAmelCase__	:Optional[Any]      =      num_channels
    UpperCAmelCase__	:List[Any]      =      num_frames

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

    UpperCAmelCase__	:Any      =      attention_type
    UpperCAmelCase__	:Optional[Any]      =      drop_path_rate







'''simple docstring'''





from ..utils import DummyObject, requires_backends




class 				UpperCAmelCase			(			metaclass=_snake_case						):
 UpperCAmelCase				=					["note_seq"]


 def __init__(      self							:	List[str]			,       *__lowerCamelCase							:	int			,       **__lowerCamelCase							:	Optional[int] ):
    requires_backends(self			,       ['''note_seq'''] )


 @classmethod
 def        __SCREAMING_SNAKE_CASE					(      cls							:	Optional[Any]			,       *__lowerCamelCase							:	Dict			,       **__lowerCamelCase							:	Optional[Any] ):
    requires_backends(cls			,       ['''note_seq'''] )





 @classmethod
 def        __SCREAMING_SNAKE_CASE					(      cls							:	str			,       *__lowerCamelCase							:	Any			,       **__lowerCamelCase							:	Optional[Any] ):
    requires_backends(cls			,       ['''note_seq'''] )



