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


A     :  Optional[Any]					     =       logging.get_logger(__name__)


class   lowerCamelCase					(UpperCamelCase__					):
		"""simple docstring"""







		lowerCamelCase__     =						'''timm_backbone'''







		def __init__(							self :       Union[str, Any]  ,     __magic_name__ :       str=None  ,     __magic_name__ :       Union[str, Any]=3  ,     __magic_name__ :       str=True  ,     __magic_name__ :       Any=True  ,     __magic_name__ :       Optional[Any]=None  ,     **__magic_name__ :       List[str]  ,     )  ->	Tuple:
								super().__init__(**__A   )
								SCREAMING_SNAKE_CASE_          =  backbone
								SCREAMING_SNAKE_CASE_          =  num_channels
								SCREAMING_SNAKE_CASE_          =  features_only
								SCREAMING_SNAKE_CASE_          =  use_pretrained_backbone
								SCREAMING_SNAKE_CASE_          =  True
								SCREAMING_SNAKE_CASE_          =  out_indices if out_indices is not None else (-1,)



from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_sentencepiece_available


A     :  Dict					     =       {}

try:
      if not is_sentencepiece_available():
            raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
      pass
else:
      A     :  Optional[Any]					     =       ["BartphoTokenizer"]

if TYPE_CHECKING:
      try:
            if not is_sentencepiece_available():
                  raise OptionalDependencyNotAvailable()
      except OptionalDependencyNotAvailable:
            pass
      else:
            from .tokenization_bartpho import BartphoTokenizer

else:
      import sys

      A     :  Optional[int]					     =       _LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)


