Crates.io | tflite-dyn |
lib.rs | tflite-dyn |
version | 0.1.1 |
source | src |
created_at | 2021-11-25 04:33:40.022304 |
updated_at | 2021-11-25 04:35:37.329903 |
description | Rust bindings for TensorFlow Lite C API |
homepage | |
repository | https://github.com/celphase/tflite-dyn |
max_upload_size | |
id | 487409 |
size | 32,512 |
Loads in a tensorflowlite_c
dynamic library at runtime and provides bindings to it.
This is not necessary for compiling a project with this library, as it's loaded in at runtime, but it's still necessary to run.
bazel build -c opt --action_env PYTHON_BIN_PATH="C://ProgramData//Miniconda3//python.exe" //tensorflow/lite/c:tensorflowlite_c --config=monolithic
This library includes bindings for XNNPACK, which is built with the TensorFlow Lite C DLL by default on Windows. You should be using this on x86, as it's faster than the default CPU delegate, which is optimized for specific ARM instructions.