Cargo Features
[dependencies]
burn-tensor = { version = "0.16.0", default-features = false, features = ["std", "cubecl", "cubecl-cuda", "cubecl-hip", "cubecl-wgpu", "experimental-named-tensor", "export_tests", "repr", "doc"] }
- default doc? = repr, std
-
These default features are set whenever
burn-tensor
is added without
somewhere in the dependency tree.default-features = false Enables rayon of burn-common
- std default = colored
-
Enables std of burn-common, half, num-traits, and rand
rand:
Default enables std
- cubecl cubecl-cuda? cubecl-hip? cubecl-wgpu? export_tests?
-
Enables cubecl
- cubecl-cuda = cubecl
-
cubecl:
Runtimes
- cubecl-hip = cubecl
- cubecl-wgpu = cubecl
- experimental-named-tensor
- export_tests = burn-tensor-testgen, cubecl
-
Affects
burn-tensor::tests
… - repr default
-
Affects
burn-tensor::repr
… - doc = default
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.