





'''simple docstring'''




from ..utils import DummyObject, requires_backends






class UpperCAmelCase							(		metaclass=__snake_case							):
    _A :			List[Any]						   =       ["""torch""", """transformers""", """onnx"""]



    def __init__(  self     ,			*__A     ,			**__A					):
     requires_backends(self     ,			['torch', 'transformers', 'onnx']					)



    @classmethod
    def 					__lowerCamelCase						(  cls     ,			*__A     ,			**__A					):
     requires_backends(cls     ,			['torch', 'transformers', 'onnx']					)




    @classmethod
    def 					__lowerCamelCase						(  cls     ,			*__A     ,			**__A					):
     requires_backends(cls     ,			['torch', 'transformers', 'onnx']					)






class UpperCAmelCase							(		metaclass=__snake_case							):
    _A :			Tuple						   =       ["""torch""", """transformers""", """onnx"""]



    def __init__(  self     ,			*__A     ,			**__A					):
     requires_backends(self     ,			['torch', 'transformers', 'onnx']					)



    @classmethod
    def 					__lowerCamelCase						(  cls     ,			*__A     ,			**__A					):
     requires_backends(cls     ,			['torch', 'transformers', 'onnx']					)




    @classmethod
    def 					__lowerCamelCase						(  cls     ,			*__A     ,			**__A					):
     requires_backends(cls     ,			['torch', 'transformers', 'onnx']					)






class UpperCAmelCase							(		metaclass=__snake_case							):
    _A :			Union[str, Any]						   =       ["""torch""", """transformers""", """onnx"""]



    def __init__(  self     ,			*__A     ,			**__A					):
     requires_backends(self     ,			['torch', 'transformers', 'onnx']					)



    @classmethod
    def 					__lowerCamelCase						(  cls     ,			*__A     ,			**__A					):
     requires_backends(cls     ,			['torch', 'transformers', 'onnx']					)




    @classmethod
    def 					__lowerCamelCase						(  cls     ,			*__A     ,			**__A					):
     requires_backends(cls     ,			['torch', 'transformers', 'onnx']					)






class UpperCAmelCase							(		metaclass=__snake_case							):
    _A :			List[Any]						   =       ["""torch""", """transformers""", """onnx"""]



    def __init__(  self     ,			*__A     ,			**__A					):
     requires_backends(self     ,			['torch', 'transformers', 'onnx']					)



    @classmethod
    def 					__lowerCamelCase						(  cls     ,			*__A     ,			**__A					):
     requires_backends(cls     ,			['torch', 'transformers', 'onnx']					)




    @classmethod
    def 					__lowerCamelCase						(  cls     ,			*__A     ,			**__A					):
     requires_backends(cls     ,			['torch', 'transformers', 'onnx']					)






class UpperCAmelCase							(		metaclass=__snake_case							):
    _A :			Dict						   =       ["""torch""", """transformers""", """onnx"""]



    def __init__(  self     ,			*__A     ,			**__A					):
     requires_backends(self     ,			['torch', 'transformers', 'onnx']					)



    @classmethod
    def 					__lowerCamelCase						(  cls     ,			*__A     ,			**__A					):
     requires_backends(cls     ,			['torch', 'transformers', 'onnx']					)




    @classmethod
    def 					__lowerCamelCase						(  cls     ,			*__A     ,			**__A					):
     requires_backends(cls     ,			['torch', 'transformers', 'onnx']					)






class UpperCAmelCase							(		metaclass=__snake_case							):
    _A :			Tuple						   =       ["""torch""", """transformers""", """onnx"""]



    def __init__(  self     ,			*__A     ,			**__A					):
     requires_backends(self     ,			['torch', 'transformers', 'onnx']					)



    @classmethod
    def 					__lowerCamelCase						(  cls     ,			*__A     ,			**__A					):
     requires_backends(cls     ,			['torch', 'transformers', 'onnx']					)




    @classmethod
    def 					__lowerCamelCase						(  cls     ,			*__A     ,			**__A					):
     requires_backends(cls     ,			['torch', 'transformers', 'onnx']					)












'''simple docstring'''




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


_A:					Tuple							=				logging.get_logger(__name__)






class UpperCAmelCase							(		UpperCAmelCase_							):
    _A :			List[Any]						   =       """timm_backbone"""



    def __init__(  self     ,			__A=None     ,			__A=3     ,			__A=True     ,			__A=True     ,			__A=None     ,			**__A     ,			):
     super().__init__(**__A					)
     __UpperCAmelCase					=   backbone
     __UpperCAmelCase					=   num_channels
     __UpperCAmelCase					=   features_only
     __UpperCAmelCase					=   use_pretrained_backbone
     __UpperCAmelCase					=   True
     __UpperCAmelCase					=   out_indices if out_indices is not None else (-1,)





