



'''simple docstring'''





from __future__ import annotations




def lowerCAmelCase  (__A):



     """simple docstring"""



     if not nums:
          return 0
     _a      =  nums[0]
     _a      =  0
     for num in nums[1:]:
          _a      =  (
              max_excluding + num,
              max(_A  ,	_A),
          )
     return max(_A  ,	_A)


if __name__ == "__main__":
  import doctest

  doctest.testmod()







import warnings

from ...utils import logging
from .image_processing_beit import BeitImageProcessor


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







class 			_lowercase (							lowercase__):


       """simple docstring"""




       def __init__(   self							:			Optional[int]					,      *__lowerCamelCase							:			List[str]					,      **__lowerCamelCase							:			str       ):


             '''simple docstring'''



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


