"""simple docstring"""




from typing import TYPE_CHECKING

from ...utils import (
    OptionalDependencyNotAvailable,
    _LazyModule,
    is_sentencepiece_available,
    is_tokenizers_available,
    is_torch_available,
    is_vision_available,
)


__lowerCamelCase											=  {"processing_layoutxlm": ["LayoutXLMProcessor"]}

try:
				if not is_sentencepiece_available():
								raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
				pass
else:
				__lowerCamelCase											=  ["LayoutXLMTokenizer"]

try:
				if not is_tokenizers_available():
								raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
				pass
else:
				__lowerCamelCase											=  ["LayoutXLMTokenizerFast"]

if TYPE_CHECKING:
				from .processing_layoutxlm import LayoutXLMProcessor

				try:
								if not is_sentencepiece_available():
												raise OptionalDependencyNotAvailable()
				except OptionalDependencyNotAvailable:
								pass
				else:
								from .tokenization_layoutxlm import LayoutXLMTokenizer

				try:
								if not is_tokenizers_available():
												raise OptionalDependencyNotAvailable()
				except OptionalDependencyNotAvailable:
								pass
				else:
								from .tokenization_layoutxlm_fast import LayoutXLMTokenizerFast

else:
				import sys

				__lowerCamelCase											=  _LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)






"""simple docstring"""




import warnings

from ...utils import logging
from .image_processing_imagegpt import ImageGPTImageProcessor


__lowerCamelCase											=  logging.get_logger(__name__)
class     UpperCamelCase__(			__A ):





						def __init__(       self		,*__UpperCAmelCase		,**__UpperCAmelCase     )					->				None:
													warnings.warn(
													    'The class ImageGPTFeatureExtractor is deprecated and will be removed in version 5 of Transformers.'
													    ' Please use ImageGPTImageProcessor instead.'		,__UpperCAmelCase		,)
													super().__init__(*__UpperCAmelCase		,**__UpperCAmelCase     )





