





def 			lowerCAmelCase_			(				UpperCamelCase_	)  ->		float:
       return -num if num < 0 else num




def 			lowerCAmelCase_			(				UpperCamelCase_	)  ->		int:
       if len(UpperCamelCase_	) == 0:
              raise ValueError("abs_min() arg is an empty sequence"	)
       UpperCamelCase_ 							=	x[0]
       for i in x:
              if abs_val(UpperCamelCase_	) < abs_val(UpperCamelCase_	):
                     UpperCamelCase_ 							=	i
       return j




def 			lowerCAmelCase_			(				UpperCamelCase_	)  ->		int:
       if len(UpperCamelCase_	) == 0:
              raise ValueError("abs_max() arg is an empty sequence"	)
       UpperCamelCase_ 							=	x[0]
       for i in x:
              if abs(UpperCamelCase_	) > abs(UpperCamelCase_	):
                     UpperCamelCase_ 							=	i
       return j




def 			lowerCAmelCase_			(				UpperCamelCase_	)  ->		int:
       if len(UpperCamelCase_	) == 0:
              raise ValueError("abs_max_sort() arg is an empty sequence"	)
       return sorted(UpperCamelCase_       ,		key=UpperCamelCase_	)[-1]




def 			lowerCAmelCase_			(				)  ->		Any:
       assert abs_val(0	) == 0
       assert abs_val(34	) == 34
       assert abs_val(-100000000000	) == 100000000000

       UpperCamelCase_ 							=	[-3, -1, 2, -11]
       assert abs_max(UpperCamelCase_	) == -11
       assert abs_max_sort(UpperCamelCase_	) == -11
       assert abs_min(UpperCamelCase_	) == -1


if __name__ == "__main__":
     import doctest

     doctest.testmod()

     test_abs_val()
     print(abs_val(-3_4))  # --> 34








import warnings

from ...utils import logging
from .image_processing_convnext import ConvNextImageProcessor


_UpperCAmelCase										=					logging.get_logger(__name__)



class 				_UpperCamelCase       (						lowerCAmelCase_  ):

       def __init__(		self:			Tuple       , *_SCREAMING_SNAKE_CASE:			List[Any]       , **_SCREAMING_SNAKE_CASE:			List[Any]		)							->			None:




              """simple docstring"""


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

