






from __future__ import annotations




def 				A		(					lowercase__  :  list[int] ,		lowercase__  :  int  )		-> list[int]:
	UpperCamelCase__ :Tuple						=      0
	UpperCamelCase__ :Any						=      len(lowercase__  ) - 1

	while i < j:
		if nums[i] + nums[j] == target:
			return [i, j]
		elif nums[i] + nums[j] < target:
			UpperCamelCase__ :Union[str, Any]						=      i + 1
		else:
			UpperCamelCase__ :Optional[int]						=      j - 1

	return []


if __name__ == "__main__":
							import doctest

							doctest.testmod()
							print(f'''{two_pointer([2, 7, 11, 15], 9) = }''')

'''simple docstring'''
import warnings

from ...utils import logging
from .image_processing_glpn import GLPNImageProcessor


lowercase__						       =      logging.get_logger(__name__)






class 	snake_case__       (      __SCREAMING_SNAKE_CASE					):







		"""simple docstring"""

		def __init__(      self				:			Optional[Any]  ,	*UpperCamelCase__				:			Optional[Any]  ,	**UpperCamelCase__				:			str      )						->			None:






				"""simple docstring"""







				warnings.warn(
				    '''The class GLPNFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'''
				    ''' use GLPNImageProcessor instead.'''  ,	UpperCamelCase__  ,	)
				super().__init__(*UpperCamelCase__  ,	**UpperCamelCase__      )


