You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The entire API for the ONNX namespace has been re-structured. If you use any of the old functions, see below for the new versions.
Feature Changes
The ONNX module now has support for DirectML execution provider from ONNXRuntime.
This feature includes the ability to request DML through find_package.
Also updates CopySharedLibs to copy the necessary DLLs.
Re-structures how the headers are organized, allowing for more flexibility when including and limiting scope. Please note that the old header onnx.hpp now wraps the entire namespace. The headers have been split as follows:
onnx/env.hpp contains create_environment as well as a new function for initializing the API.
onnx/common.hpp contains the perform_safe_op function.
onnx/inference.hpp contains perform_inference.
session.hpp contains create_session_from_file as well as the new functions for using the DML provider.
tensor.hpp contains the functions to convert from/to tensors. Note that the system has been re-structured and the functions that convert to tensors now return a tensor as opposed to receiving a set as input. This allows greater flexibility in how tensors are made. Please see the API for further details.
Updates OpenCV to the latest version.
Bug Fixes
CopySharedLibs now requires ONNXRuntime when copying DLLs as a safeguard.