- This change adds the DisableTelemetry() and EnableTelemetry()
top-level functions, which wrap the DisableTelemetryEvents() and
EnableTelemetryEvents() C API functions for the package's internal
onnxruntime environment.
- This change rolls back some of the prior commit. As a fan of the
onnxruntime library, I decided to take a more charitable approach to
their telemetry and not disable it by default in these bindings.
- This change updates onnxruntime_c_api.h to version 1.15.1, as well as
test_data/onnxruntime.dll and test_data/onnxruntime_arm64.so.
- This change also manually adds a call to DisableTelemetryEvents
whenever initializing onnxruntime. If any user wants to re-enable
telemetry let me know and I can add a function to do so. I figured
most people won't care if it's just off by default in these bindings.
- Modified the Session API so that the user must provide all input and
output tensors when creating the session (Run() no longer takes any
arguments). This should avoid allocations and fix the incorrect way
I was using input and output names before.
- Updated the test to use the new API.
- Removed the onnx_example_application; it was only doing the same
thing as the unit test anyway.
- The library is now capable of loading the test session and running
it successfully.
- Updated the example application, which is really the same as the test
and should probably be deleted.
- TODO: The input names actually *do* need to match the names when the
network was created. The hardcoded names in onnxruntime_wrapper.c
will *not* do!
- There is now a wrapper to create generic Tensor objects in Go, that
should be appropriately backed by the onnxruntime.
- Did some minor tests.
- Still to do: update the example, and put together a nice API that
uses the tensors.
- Sets up the onnxruntime environment, but doesn't load or run networks
yet.
- The things builds and run on Windows.
- Still working on getting the Linux (arm64 for now) test to work.