onnxruntime/tools/python/util/__init__.py
Scott McKay 2ca9566994
Add range of helpers for making usage of ORT Mobile easier. (#10458)
* Add range of helpers for making usage of ORT Mobile easier.
2022-02-18 07:35:25 +10:00

15 lines
578 B
Python

# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
from .get_azcopy import get_azcopy
from .logger import get_logger
from .platform_helpers import (is_windows, is_macOS, is_linux)
# Test what is needed here to use in a script
# from .pytorch_export_helpers import infer_input_info
from .run import run
try:
import flatbuffers # noqa
from .reduced_build_config_parser import parse_config
except ImportError:
get_logger('tools_python_utils').info('flatbuffers module is not installed. parse_config will not be available')