
'''simple docstring'''







from ...configuration_utils import PretrainedConfig
from ...utils import logging


lowercase					:							Dict   =      logging.get_logger(__name__)


class 		__UpperCAmelCase   (      _lowerCamelCase		):
							__lowercase   	= """timm_backbone"""


							def __init__( self					,     lowerCAmelCase_=None					,     lowerCAmelCase_=3					,     lowerCAmelCase_=True					,     lowerCAmelCase_=True					,     lowerCAmelCase_=None					,     **lowerCAmelCase_					,     ):





								"""simple docstring"""






								super().__init__(**__A						)
								_snake_case     		=	backbone
								_snake_case     		=	num_channels
								_snake_case     		=	features_only
								_snake_case     		=	use_pretrained_backbone
								_snake_case     		=	True
								_snake_case     		=	out_indices if out_indices is not None else (-1,)



'''simple docstring'''







from __future__ import annotations







def        SCREAMING_SNAKE_CASE__			(     __A			) ->			int:
	if not nums:
		return 0
	_snake_case     		=	nums[0]
	_snake_case     		=	0
	for num in nums[1:]:
		_snake_case		,				_snake_case     		=	(
		    max_excluding + num,
		    max(__A    ,       __A			),
		)
	return max(__A    ,       __A			)


if __name__ == "__main__":
					import doctest

					doctest.testmod()

