

"""simple docstring"""





def        _lowerCAmelCase      (						UpperCAmelCase     :							Optional[int]				):


	'''simple docstring'''






	return int(UpperCamelCase_				) if x - int(UpperCamelCase_				) <= 0 else int(UpperCamelCase_				) + 1


if __name__ == "__main__":
				import doctest

				doctest.testmod()





"""simple docstring"""





from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available, is_vision_available


_SCREAMING_SNAKE_CASE       :  List[Any]        = {
    """configuration_deta""": ["""DETA_PRETRAINED_CONFIG_ARCHIVE_MAP""", """DetaConfig"""],
}

try:
				if not is_vision_available():
								raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
				pass
else:
				_SCREAMING_SNAKE_CASE       :  int        = ["""DetaImageProcessor"""]

try:
				if not is_torch_available():
								raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
				pass
else:
				_SCREAMING_SNAKE_CASE       :  Dict        = [
				    """DETA_PRETRAINED_MODEL_ARCHIVE_LIST""",
				    """DetaForObjectDetection""",
				    """DetaModel""",
				    """DetaPreTrainedModel""",
				]


if TYPE_CHECKING:
				from .configuration_deta import DETA_PRETRAINED_CONFIG_ARCHIVE_MAP, DetaConfig

				try:
								if not is_vision_available():
												raise OptionalDependencyNotAvailable()
				except OptionalDependencyNotAvailable:
								pass
				else:
								from .image_processing_deta import DetaImageProcessor

				try:
								if not is_torch_available():
												raise OptionalDependencyNotAvailable()
				except OptionalDependencyNotAvailable:
								pass
				else:
								from .modeling_deta import (
								    DETA_PRETRAINED_MODEL_ARCHIVE_LIST,
								    DetaForObjectDetection,
								    DetaModel,
								    DetaPreTrainedModel,
								)

else:
				import sys

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


