onnxruntime/tools/python/check_onnx_model_mobile_usability.py

12 lines
488 B
Python
Raw Normal View History

#!/usr/bin/env python3
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
# This script is a stub that uses the model conversion script from the util subdirectory.
# We do it this way so we can use relative imports in that script, which makes it easy to include
# in the ORT python package (where it must use relative imports)
from util.check_onnx_model_mobile_usability import check_usability
if __name__ == '__main__':
check_usability()