Cargo Features
[dependencies]
ai-dataloader = { version = "0.6.2", default-features = false, features = ["rayon", "tch"] }
- default = rayon
-
The
rayon
feature is set by default wheneverai-dataloader
is added without
somewhere in the dependency tree.default-features = false - rayon default
-
Affects
ai-dataloader::THREAD_POOL
…
Features from optional dependencies
- tch implicit feature
-
Enables tch ^0.17.0
tch:
Rust wrappers for the PyTorch C++ api (libtorch)