





'''simple docstring'''






import warnings

from ...utils import logging
from .image_processing_dpt import DPTImageProcessor


A__    :       str              =logging.get_logger(__name__)




class 			UpperCAmelCase					(      snake_case_       ):




      def __init__(      self      :			Optional[Any]      ,      *__snake_case      :			Optional[Any]      ,      **__snake_case      :			List[str]  )    ->				None:
            warnings.warn(
                """The class DPTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"""
                """ use DPTImageProcessor instead."""      ,      __snake_case      ,      )
            super().__init__(*__snake_case      ,      **__snake_case  )













'''simple docstring'''






from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_tokenizers_available


A__    :       int              ={'''tokenization_herbert''': ['''HerbertTokenizer''']}

try:
      if not is_tokenizers_available():
            raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
      pass
else:
      A__    :       Dict              =['''HerbertTokenizerFast''']


if TYPE_CHECKING:
      from .tokenization_herbert import HerbertTokenizer

      try:
            if not is_tokenizers_available():
                  raise OptionalDependencyNotAvailable()
      except OptionalDependencyNotAvailable:
            pass
      else:
            from .tokenization_herbert_fast import HerbertTokenizerFast

else:
      import sys

      A__    :       List[Any]              =_LazyModule(__name__, globals()['''__file__'''], _import_structure, module_spec=__spec__)






