- 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.
- Named the cleanup function something more consistent with the other
cleanup functions.
- Fixed a couple bugs where deferred stuff was executed after the
environment was destroyed, causing a segfault.
- 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.