optimum/amd/ryzenai/models/hrnet/__init__.py (10 lines of code) (raw):

# Copyright 2023 The HuggingFace Team. All rights reserved. # Licensed under the MIT License. from typing import TYPE_CHECKING from transformers.utils import _LazyModule _import_structure = { "image_processing_hrnet": ["HRNetImageProcessor"], } # Direct imports for type-checking if TYPE_CHECKING: from .image_processing_hrnet import HRNetImageProcessor else: import sys sys.modules[__name__] = _LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)