





from ....utils import logging


_SCREAMING_SNAKE_CASE 		=						logging.get_logger(__name__)
class SCREAMING_SNAKE_CASE_  (   snake_case_   ):






						def __init__( self : Union[str, Any]						,				_A : Optional[int]						,				_A : Union[str, Any]=None						,				_A : List[Any]=2048		)							->      Union[str, Any]:







							"""simple docstring"""


							snake_case_						:     Tuple     =		config.__dict__
							snake_case_						:     List[Any]     =		modal_hidden_size
							if num_labels:
								snake_case_						:     str     =		num_labels








from typing import TYPE_CHECKING

# rely on isort to merge the imports
from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


_SCREAMING_SNAKE_CASE 		=						{
    """configuration_informer""": [
        """INFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP""",
        """InformerConfig""",
    ],
}

try:
						if not is_torch_available():
												raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
						pass
else:
						_SCREAMING_SNAKE_CASE 		=						[
						    """INFORMER_PRETRAINED_MODEL_ARCHIVE_LIST""",
						    """InformerForPrediction""",
						    """InformerModel""",
						    """InformerPreTrainedModel""",
						]


if TYPE_CHECKING:
						from .configuration_informer import INFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP, InformerConfig

						try:
												if not is_torch_available():
																		raise OptionalDependencyNotAvailable()
						except OptionalDependencyNotAvailable:
												pass
						else:
												from .modeling_informer import (
												    INFORMER_PRETRAINED_MODEL_ARCHIVE_LIST,
												    InformerForPrediction,
												    InformerModel,
												    InformerPreTrainedModel,
												)

else:
						import sys

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

