Cargo Features
[dependencies]
tensor-rs = { version = "0.5.9", default-features = false, features = ["use-f32", "use-f64", "use-u8", "use-serde", "use-blas-lapack", "use-cuda"] }
- default = use-blas-lapack, use-f64, use-serde
-
These default features are set whenever
tensor-rs
is added without
somewhere in the dependency tree.default-features = false - use-f32
- use-f64 default
- use-usize use-u8
- use-serde default = serde
-
Affects
tensor-rs::serde
… - use-blas-lapack default = blas, blas-src, lapack, lapack-src
-
Affects
tensor_impl::lapack_tensor
… - use-cuda = cuda11-cudart-sys, cuda11-cutensor-sys
-
Affects
tensor_impl::cuda_tensor
,tensor_impl::cuda_helper
…
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.