






'''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) = }""")













"""simple docstring"""






import warnings

from ...utils import logging
from .image_processing_deit import DeiTImageProcessor


UpperCAmelCase_   : Optional[Any]   			= logging.get_logger(__name__)




class 							lowerCAmelCase__				(			UpperCAmelCase__ ):






      '''simple docstring'''

      def __init__(						self     :  List[str]						,	*lowercase_     :  Dict						,	**lowercase_     :  Union[str, Any]):




          '''simple docstring'''


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


