Cargo Features

[dependencies]
burn-ndarray = { version = "0.13.1", 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 whenever burn-ndarray is added without default-features = false somewhere in the dependency tree.

std default = burn-autodiff, rayon

Enables std and threading of matrixmultiply, rayon and std of ndarray, std of burn-common and burn-tensor 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 ^0.9.0

no-std compatible

blas-netlib

Enables netlib of blas-src ^0.9.0, blas of ndarray

blas-openblas = openblas-src

Enables openblas of blas-src ^0.9.0, blas of ndarray

blas-openblas-system

Enables openblas of blas-src ^0.9.0, 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 **

rayon std
blas-src blas-accelerate? blas-netlib? blas-openblas? blas-openblas-system?

Enables blas-src ^0.9.0

openblas-src blas-openblas? blas-openblas-system?