Cargo Features

[dependencies]
neural_networks_rust = { version = "0.5.0", default-features = false, features = ["ndarray", "nalgebra", "arrayfire", "f64"] }
default = ndarray

The ndarray feature is set by default whenever neural_networks_rust is added without default-features = false somewhere in the dependency tree.

ndarray default

Enables convolutions-rs and ndarray ^0.15.3

Affects linalg::ndarray_matrix, linalg::BACKEND, image::ndarray_image, image::Image

nalgebra

Enables nalgebra ^0.32.2

Affects linalg::nalgebra_matrix, linalg::BACKEND, image::nalgebra_image, image::Image

arrayfire

Enables arrayfire

Affects test_arrayfire::main, linalg::arrayfire_matrix, linalg::BACKEND, image::arrayfire_image, image::Image

f64

Affects linalg::Scalar