


'''simple docstring'''





from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


_snake_case  :	Any			      =       {
    "configuration_swinv2": ["SWINV2_PRETRAINED_CONFIG_ARCHIVE_MAP", "Swinv2Config"],
}


try:
			if not is_torch_available():
						raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
			pass
else:
			_snake_case  :	Dict			      =       [
			    "SWINV2_PRETRAINED_MODEL_ARCHIVE_LIST",
			    "Swinv2ForImageClassification",
			    "Swinv2ForMaskedImageModeling",
			    "Swinv2Model",
			    "Swinv2PreTrainedModel",
			]


if TYPE_CHECKING:
			from .configuration_swinva import SWINV2_PRETRAINED_CONFIG_ARCHIVE_MAP, SwinvaConfig

			try:
						if not is_torch_available():
									raise OptionalDependencyNotAvailable()
			except OptionalDependencyNotAvailable:
						pass
			else:
						from .modeling_swinva import (
						    SWINV2_PRETRAINED_MODEL_ARCHIVE_LIST,
						    SwinvaForImageClassification,
						    SwinvaForMaskedImageModeling,
						    SwinvaModel,
						    SwinvaPreTrainedModel,
						)


else:
			import sys

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





import warnings

from ...utils import logging
from .image_processing_poolformer import PoolFormerImageProcessor


_snake_case  :	List[str]			      =       logging.get_logger(__name__)

class        a	(_lowerCAmelCase   ):




							"""simple docstring"""


							def __init__(							self :						int					,			*lowerCamelCase :						Any					,			**lowerCamelCase :						Union[str, Any]       )			->					None:
														warnings.warn(
														    "The class PoolFormerFeatureExtractor is deprecated and will be removed in version 5 of Transformers."
														    " Please use PoolFormerImageProcessor instead."					,			lowerCamelCase					,			)
														super().__init__(*lowerCamelCase					,			**lowerCamelCase       )

