





'''simple docstring'''


import warnings

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


lowerCAmelCase :					Dict 							=logging.get_logger(__name__)
class 				a_       (    _lowerCAmelCase							):





     def __init__(			self		: Tuple     ,				*lowercase		: Dict     ,				**lowercase		: List[Any]						):





        """simple docstring"""




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









'''simple docstring'''


def 							UpperCAmelCase_  (						__lowerCamelCase : str     ,__lowerCamelCase : str			):
   lowercase_      :Optional[Any]         =			len(__lowerCamelCase			)
   lowercase_      :List[Any]         =			[]
   for i in range(len(__lowerCamelCase			) - pat_len + 1			):
      lowercase_      :Dict         =			True
      for j in range(__lowerCamelCase			):
         if s[i + j] != pattern[j]:
            lowercase_      :int         =			False
            break
      if match_found:
         position.append(__lowerCamelCase			)
   return position


if __name__ == "__main__":
 assert naive_pattern_search('''ABCDEFG''', '''DE''') == [3]
 print(naive_pattern_search('''ABAAABCDBBABCDDEBCABC''', '''ABC'''))


