Cargo Features
[dependencies]
tract = { version = "0.21.7", default-features = false, features = ["apple-amx-ios", "onnx", "extra", "pulse-opl", "pulse", "tf", "tflite", "conform"] }
- default = extra, onnx, pulse, pulse-opl, tf, tflite
-
These default features are set whenever
tract
is added without
somewhere in the dependency tree.default-features = false - apple-amx-ios
-
Enables apple-amx-ios of tract-linalg
- onnx default = tract-onnx
-
Enables hir and onnx of tract-libcli
Affects
compare::handle_pbdir
… - extra default = tract-extra
- pulse-opl default = tract-pulse-opl
- pulse default = tract-pulse, tract-pulse-opl
- tf default = tract-tensorflow
-
Enables hir of tract-libcli
- tflite default = tract-tflite
- conform
-
Enables conform of tract-tensorflow
Affects
compare::handle_tensorflow
,params::Parameters.tf_model
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.