





'''simple docstring'''







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


_lowercase       						=			logging.get_logger(__name__)

_lowercase       						=			{
    'vinvino02/glpn-kitti': 'https://huggingface.co/vinvino02/glpn-kitti/resolve/main/config.json',
    # See all GLPN models at https://huggingface.co/models?filter=glpn
}
class 			_lowercase						(       __a					):
     _UpperCAmelCase										=					'''glpn'''







     def __init__( self    ,   A__=3    ,   A__=4    ,   A__=[2, 2, 2, 2]    ,   A__=[8, 4, 2, 1]    ,   A__=[32, 64, 1_60, 2_56]    ,   A__=[7, 3, 3, 3]    ,   A__=[4, 2, 2, 2]    ,   A__=[1, 2, 5, 8]    ,   A__=[4, 4, 4, 4]    ,   A__="gelu"    ,   A__=0.0    ,   A__=0.0    ,   A__=0.0_2    ,   A__=0.1    ,   A__=1e-6    ,   A__=64    ,   A__=10    ,   A__=-1    ,   **A__    ,   ) ->	Union[str, Any]:
      super().__init__(**A__    )

      snake_case				=			num_channels
      snake_case				=			num_encoder_blocks
      snake_case				=			depths
      snake_case				=			sr_ratios
      snake_case				=			hidden_sizes
      snake_case				=			patch_sizes
      snake_case				=			strides
      snake_case				=			mlp_ratios
      snake_case				=			num_attention_heads
      snake_case				=			hidden_act
      snake_case				=			hidden_dropout_prob
      snake_case				=			attention_probs_dropout_prob
      snake_case				=			initializer_range
      snake_case				=			drop_path_rate
      snake_case				=			layer_norm_eps
      snake_case				=			decoder_hidden_size
      snake_case				=			max_depth
      snake_case				=			head_in_index








'''simple docstring'''







from ..utils import DummyObject, requires_backends
class 			_lowercase						(       metaclass=__a					):
     _UpperCAmelCase										=					['''transformers''', '''torch''', '''note_seq''']







     def __init__( self    ,   *A__    ,   **A__    ) ->	Union[str, Any]:
      requires_backends(self    ,   ['''transformers''', '''torch''', '''note_seq''']    )







     @classmethod
     def     UpperCamelCase			( cls    ,   *A__    ,   **A__    ) ->	Optional[Any]:
      requires_backends(cls    ,   ['''transformers''', '''torch''', '''note_seq''']    )







     @classmethod
     def     UpperCamelCase			( cls    ,   *A__    ,   **A__    ) ->	Any:
      requires_backends(cls    ,   ['''transformers''', '''torch''', '''note_seq''']    )

