
'''simple docstring'''





from __future__ import annotations


def 		UpperCAmelCase    (			a_		)	->			Dict:







				"""simple docstring"""



				__A         =				sorted(_SCREAMING_SNAKE_CASE		)
				__A         =				len(_SCREAMING_SNAKE_CASE		)
				__A         =				length >> 1
				return (
				    (sorted_list[mid_index] + sorted_list[mid_index - 1]) / 2
				    if length % 2 == 0
				    else sorted_list[mid_index]
				)


def 		UpperCAmelCase    (			)	->			Any:







				"""simple docstring"""



				import doctest

				doctest.testmod()


if __name__ == "__main__":
					main()


import torch

from transformers import PreTrainedModel

from .custom_configuration import CustomConfig, NoSuperInitConfig





class 							UpperCAmelCase   (						__SCREAMING_SNAKE_CASE						):




	'''simple docstring'''





	snake_case_      					=  CustomConfig






	def __init__( self      :				Optional[int]							,A      :				List[str]				):
					super().__init__(A				)
					__A         =				torch.nn.Linear(config.hidden_size							,config.hidden_size				)






	def        UpperCamelCase_						( self      :				Union[str, Any]							,A      :				Optional[int]				):
					return self.linear(A				)







	def        UpperCamelCase_						( self      :				Optional[int]							,A      :				int				):
					pass





class 							UpperCAmelCase   (						__SCREAMING_SNAKE_CASE						):




	'''simple docstring'''





	snake_case_      					=  NoSuperInitConfig






	def __init__( self      :				Optional[int]							,A      :				Union[str, Any]				):
					super().__init__(A				)
					__A         =				torch.nn.Linear(config.attribute							,config.attribute				)






	def        UpperCamelCase_						( self      :				str							,A      :				Any				):
					return self.linear(A				)







	def        UpperCamelCase_						( self      :				Tuple							,A      :				int				):
					pass
