


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


__snake_case            =   logging.get_logger(__name__)

__snake_case            =   {
    "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    UpperCAmelCase					(       __snake_case    ):
			lowercase						= """glpn"""




			def __init__(						self							:		Union[str, Any]       ,       __magic_name__							:		Tuple=3       ,       __magic_name__							:		int=4       ,       __magic_name__							:		Optional[int]=[2, 2, 2, 2]       ,       __magic_name__							:		Tuple=[8, 4, 2, 1]       ,       __magic_name__							:		Optional[int]=[3_2, 6_4, 1_6_0, 2_5_6]       ,       __magic_name__							:		str=[7, 3, 3, 3]       ,       __magic_name__							:		Union[str, Any]=[4, 2, 2, 2]       ,       __magic_name__							:		Any=[1, 2, 5, 8]       ,       __magic_name__							:		str=[4, 4, 4, 4]       ,       __magic_name__							:		int="gelu"       ,       __magic_name__							:		str=0.0       ,       __magic_name__							:		Any=0.0       ,       __magic_name__							:		List[str]=0.02       ,       __magic_name__							:		int=0.1       ,       __magic_name__							:		Union[str, Any]=1e-6       ,       __magic_name__							:		List[str]=6_4       ,       __magic_name__							:		int=1_0       ,       __magic_name__							:		Dict=-1       ,       **__magic_name__							:		Union[str, Any]       ,       ):







						"""simple docstring"""







						super().__init__(**__magic_name__						)

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








def 							_lowercase    (		SCREAMING_SNAKE_CASE_   :		str	):





			"""simple docstring"""




			return [
			    txt[:a] + txt[a].upper() + txt[a + 1 :]
			    for a in range(len(SCREAMING_SNAKE_CASE_	)	)
			    if txt[a].isalpha()
			]


if __name__ == "__main__":
			__import__("doctest").testmod()




