Rust bindings to onnxruntime
Go to file
2020-05-31 17:20:17 +01:00
.github/workflows CI with cachix 2020-05-31 09:40:38 +01:00
cbits Use pkg-config to sort out dependencies 2020-05-31 13:58:34 +01:00
nix Nixify 2020-05-31 09:14:01 +01:00
src Properly convert CStr to pointers 2020-05-31 17:20:17 +01:00
testdata Add testdata to repo 2020-05-31 09:13:59 +01:00
.gitignore Setup rust bindinds 2020-05-16 11:56:29 +02:00
build.rs Nixify 2020-05-31 09:14:01 +01:00
Cargo.lock Move everything to one crate 2020-05-16 11:56:30 +02:00
Cargo.toml Add license to Cargo.toml 2020-05-31 15:25:11 +01:00
default.nix Remove more files from the src filter 2020-05-31 13:58:59 +01:00
LICENSE Add MIT license 2020-05-31 09:58:02 +01:00
README.md Add MIT license 2020-05-31 09:58:02 +01:00

onnxruntime

This crate contains bindings to onnxruntime.

In order to build/use this crate you must either have onnxruntime installed on your system or build the onnxruntime project from source.

To build from source (Linux) do the following from the root of the repo:

./build.sh --config RelWithDebInfo --build_shared_lib --parallel
export ONNXRUNTIME_LIB_DIR=$PWD/build/Linux/RelWithDebInfo/
export ONNXRUNTIME_INCLUDE_DIR=$PWD/include/onnxruntime/core/session/
export LD_LIBRARY_PATH=$ONNXRUNTIME_LIB_DIR:$LD_LIBRARY_PATH

License

MIT License

Copyright 2020 Basile Henry, Chris Chalmers