





import warnings

from ...utils import logging
from .image_processing_glpn import GLPNImageProcessor


__lowerCamelCase :  int										=  logging.get_logger(__name__)



class       A__     ( __snake_case    ):





      def __init__(				self ,							*A_ ,							**A_     ):
       '''simple docstring'''




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







from math import loga



def 	A_       (  _lowerCAmelCase  )		->				int:
 if a < 0:
  raise ValueError("Input value must be a positive integer"  )
 elif isinstance(_lowerCAmelCase							,     _lowerCAmelCase  ):
  raise TypeError("Input value must be a 'int' type"  )
 return 0 if (a == 0) else int(loga(a & -a  )  )


if __name__ == "__main__":
    import doctest

    doctest.testmod()
