Cargo Features
[dependencies]
burn-ndarray = { version = "0.15.0", default-features = false, features = ["std", "blas-accelerate", "blas-netlib", "blas-openblas", "blas-openblas-system", "doc"] }
- default doc? = std
-
The
std
feature is set by default wheneverburn-ndarray
is added without
somewhere in the dependency tree.default-features = false - std default = burn-autodiff
-
Enables rayon and std of burn-common, std of burn-tensor, std and threading of matrixmultiply, rayon and std of ndarray and std of num-traits and rand
rand:
Option (enabled by default): without "std" rand uses libcore; this option enables functionality expected to be available on a standard platform.
- blas-accelerate
-
Enables blas of ndarray and accelerate of blas-src
no-std compatible
- blas-netlib
- blas-openblas = openblas-src
- blas-openblas-system
-
Enables openblas of blas-src, blas of ndarray, system of openblas-src
- 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.
- burn-autodiff std
-
Enables burn-autodiff
** Please make sure all dependencies support no_std when std is disabled **
- blas-src blas-accelerate? blas-netlib? blas-openblas? blas-openblas-system?
- openblas-src blas-openblas? blas-openblas-system?