mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-08 00:23:03 +00:00
12 lines
462 B
Python
12 lines
462 B
Python
#-------------------------------------------------------------------------
|
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
# Licensed under the MIT License.
|
|
#--------------------------------------------------------------------------
|
|
import sys
|
|
import os
|
|
import warnings
|
|
|
|
try:
|
|
from onnxruntime.capi.onnxruntime_pybind11_state import * # noqa
|
|
except ImportError as e:
|
|
warnings.warn("Cannot load onnxruntime.capi. Error: '{0}'".format(str(e)))
|