


from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


UpperCamelCase					:       Union[str, Any]			    =     {
    """configuration_timesformer""": ["""TIMESFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP""", """TimesformerConfig"""],
}

try:
    if not is_torch_available():
        raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
    pass
else:
    UpperCamelCase					:       Dict			    =     [
        """TIMESFORMER_PRETRAINED_MODEL_ARCHIVE_LIST""",
        """TimesformerModel""",
        """TimesformerForVideoClassification""",
        """TimesformerPreTrainedModel""",
    ]

if TYPE_CHECKING:
    from .configuration_timesformer import TIMESFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP, TimesformerConfig

    try:
        if not is_torch_available():
            raise OptionalDependencyNotAvailable()
    except OptionalDependencyNotAvailable:
        pass
    else:
        from .modeling_timesformer import (
            TIMESFORMER_PRETRAINED_MODEL_ARCHIVE_LIST,
            TimesformerForVideoClassification,
            TimesformerModel,
            TimesformerPreTrainedModel,
        )

else:
    import sys

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







import warnings

from ...utils import logging
from .image_processing_layoutlmva import LayoutLMvaImageProcessor


__UpperCamelCase   :			Optional[int]          = logging.get_logger(__name__)

class 						__lowerCAmelCase      (      __magic_name__					):
							def __init__(		self		:Union[str, Any]						, *__magic_name__		:int						, **__magic_name__		:str							):







								'''simple docstring'''







								warnings.warn(
								    """The class LayoutLMv2FeatureExtractor is deprecated and will be removed in version 5 of Transformers."""
								    """ Please use LayoutLMv2ImageProcessor instead."""						, __magic_name__						, )
								super().__init__(*__magic_name__						, **__magic_name__							)

