





from math import loga



def 		A_    (					_lowerCAmelCase					)						->			int:





 if a < 0:
  raise ValueError("Input value must be a positive integer"					)
 elif isinstance(_snake_case							,       _snake_case					):
  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()







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


__lowerCamelCase	:					Tuple			  =					logging.get_logger(__name__)



class  A__       (	__snake_case      ):
      _UpperCAmelCase     :List[Any]						   =       'timm_backbone'





      def __init__(			self	,							A_=None	,							A_=3	,							A_=True	,							A_=True	,							A_=None	,							**A_	,							):
       '''simple docstring'''




       super().__init__(**A_       )
       UpperCamelCase     : Tuple	     =       backbone
       UpperCamelCase     : Dict	     =       num_channels
       UpperCamelCase     : Tuple	     =       features_only
       UpperCamelCase     : Optional[int]	     =       use_pretrained_backbone
       UpperCamelCase     : Dict	     =       True
       UpperCamelCase     : List[str]	     =       out_indices if out_indices is not None else (-1,)
