




'''simple docstring'''


import warnings

from ...utils import logging
from .image_processing_perceiver import PerceiverImageProcessor


_snake_case				:				int       							=		logging.get_logger(__name__)

class       A   (		_a   ):







							def __init__(  self	:  Optional[int]							,      *lowerCAmelCase_	:  Optional[Any]							,      **lowerCAmelCase_	:  Optional[Any] )      ->							None:


														"""simple docstring"""


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







'''simple docstring'''


from __future__ import annotations
def 		snake_case_   (UpperCamelCase	:  list[int]				):





							'''simple docstring'''


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


if __name__ == "__main__":
				import doctest

				doctest.testmod()

