




'''simple docstring'''


def 	snake_case_					(UpperCamelCase :						list				,		UpperCamelCase :						int				,		UpperCamelCase :						int = 0				,		UpperCamelCase :						int = 0   ):





							'''simple docstring'''


							_a			  =       right or len(__a   ) - 1
							if left > right:
														return -1
							elif list_data[left] == key:
														return left
							elif list_data[right] == key:
														return right
							else:
														return search(__a				,		__a				,		left + 1				,		right - 1   )


if __name__ == "__main__":
				import doctest

				doctest.testmod()







'''simple docstring'''


from ..utils import DummyObject, requires_backends

class     A					(	metaclass=_a					):
							lowercase_           =       ['torch', 'torchsde']







							def __init__(						self :						Optional[Any]							,    *lowerCAmelCase_ :						Any							,    **lowerCAmelCase_ :						Tuple      )    ->							Dict:


														"""simple docstring"""


														requires_backends(self							,    ['''torch''', '''torchsde''']      )







							@classmethod
							def      __lowerCAmelCase    (						cls :						Dict							,    *lowerCAmelCase_ :						Optional[int]							,    **lowerCAmelCase_ :						Optional[Any]      )    ->							int:


														"""simple docstring"""


														requires_backends(cls							,    ['''torch''', '''torchsde''']      )







							@classmethod
							def      __lowerCAmelCase    (						cls :						List[str]							,    *lowerCAmelCase_ :						str							,    **lowerCAmelCase_ :						Optional[Any]      )    ->							Any:


														"""simple docstring"""


														requires_backends(cls							,    ['''torch''', '''torchsde''']      )

