




import warnings

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


SCREAMING_SNAKE_CASE__ :   int						=     logging.get_logger(__name__)




class 	UpperCamelCase__			(lowerCAmelCase_  ):

				'''simple docstring'''



				def __init__(					self  ,						*UpperCamelCase__  ,						**UpperCamelCase__  )  ->   Optional[int]:
											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  )












from __future__ import annotations

def   A   (   _SCREAMING_SNAKE_CASE					)			->				list[int]:
       assert (
           isinstance(_SCREAMING_SNAKE_CASE				,_SCREAMING_SNAKE_CASE					) and mask > 0
       ), f'''mask needs to be positive integer, your input {mask}'''
       lowerCamelCase     :   str    				=      []
       lowerCamelCase     :   Any    				=      mask

       while submask:
              all_submasks.append(_SCREAMING_SNAKE_CASE					)
              lowerCamelCase     :   Union[str, Any]    				=      (submask - 1) & mask

       return all_submasks


if __name__ == "__main__":
       import doctest

       doctest.testmod()






