2020-05-14 00:11:16 +04:00
|
|
|
# onnxruntime
|
2020-05-10 22:38:23 +04:00
|
|
|
|
2020-05-14 00:11:16 +04:00
|
|
|
This crate contains bindings to onnxruntime.
|
2020-05-10 22:38:23 +04:00
|
|
|
|
|
|
|
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:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
./build.sh --config RelWithDebInfo --build_shared_lib --parallel
|
|
|
|
export ONNXRUNTIME_LIB_DIR=$PWD/build/Linux/RelWithDebInfo/
|
2020-05-31 20:22:29 +04:00
|
|
|
export ONNXRUNTIME_INCLUDE_DIR=$PWD/include
|
2020-05-10 22:38:23 +04:00
|
|
|
export LD_LIBRARY_PATH=$ONNXRUNTIME_LIB_DIR:$LD_LIBRARY_PATH
|
|
|
|
```
|
|
|
|
|
2020-05-31 12:53:20 +04:00
|
|
|
## License
|
|
|
|
|
|
|
|
[MIT License](./LICENSE)
|
|
|
|
|
|
|
|
Copyright 2020 Basile Henry, Chris Chalmers
|