Cargo Features

[dependencies]
leaf = { version = "0.2.1", default-features = false, features = ["lint", "travis", "cuda", "dev", "opencl", "unstable", "native"] }
default = native

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

lint = clippy
travis = native
cuda

Enables cuda of collenchyma, collenchyma-blas, and collenchyma-nn

Affects common::convolution, common::pooling, util::LayerOps

dev
opencl

Enables opencl of collenchyma, collenchyma-blas, and collenchyma-nn

unstable
native default travis?

Enables collenchyma-blas, native of collenchyma-nn

Affects util::LayerOps

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.

clippy lint?

Enables clippy ^0.0.41