mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
Description: Format all python files under onnxruntime with black and isort. After checking in, we can use .git-blame-ignore-revs to ignore the formatting PR in git blame. #11315, #11316
11 lines
488 B
Python
11 lines
488 B
Python
#!/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()
|