






'''simple docstring'''




from __future__ import annotations

def 					__lowercase						(			__lowercase   ,  __lowercase       )       ->						list[int]:

      '''simple docstring'''


      _A			     =	0
      _A			     =	len(__lowercase       ) - 1

      while i < j:
            if nums[i] + nums[j] == target:
                  return [i, j]
            elif nums[i] + nums[j] < target:
                  _A			     =	i + 1
            else:
                  _A			     =	j - 1

      return []


if __name__ == "__main__":
    import doctest

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











import warnings

from ...utils import logging
from .image_processing_imagegpt import ImageGPTImageProcessor


lowerCamelCase__ :   List[str]					=							logging.get_logger(__name__)





class        lowerCamelCase_							(      _SCREAMING_SNAKE_CASE					):


 '''simple docstring'''







 def __init__(							self  :		str				,				*_lowerCAmelCase  :		Optional[Any]				,				**_lowerCAmelCase  :		Optional[Any]						):
       warnings.warn(
           'The class ImageGPTFeatureExtractor is deprecated and will be removed in version 5 of Transformers.'
           ' Please use ImageGPTImageProcessor instead.'				,				_lowerCAmelCase				,				)
       super().__init__(*_lowerCAmelCase				,				**_lowerCAmelCase						)