2021-01-28 21:59:51 +00:00
|
|
|
#!/usr/bin/env python3
|
2020-09-18 08:49:54 +00:00
|
|
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
|
# Licensed under the MIT License.
|
|
|
|
|
|
2021-04-30 04:23:54 +00:00
|
|
|
# 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.convert_onnx_models_to_ort import convert_onnx_models_to_ort
|
2020-09-18 08:49:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
2021-04-30 04:23:54 +00:00
|
|
|
convert_onnx_models_to_ort()
|