Cargo Features

[dependencies]
tensorflow = { version = "0.21.0", default-features = false, features = ["experimental", "tensorflow_gpu", "tensorflow_unstable", "tensorflow_runtime_linking", "eager", "examples_system_alloc", "private-docs-rs", "ndarray"] }
default = tensorflow-sys

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

experimental

Enables experimental of tensorflow-sys

tensorflow_gpu

Enables tensorflow_gpu of tensorflow-sys

tensorflow_unstable
tensorflow_runtime_linking = tensorflow-sys-runtime
eager

Enables eager of tensorflow-sys

Affects tensorflow::eager

examples_system_alloc

This is for testing purposes; users should not use this.

Enables examples_system_alloc of tensorflow-sys

private-docs-rs

DO NOT RELY ON THIS

Enables private-docs-rs of tensorflow-sys

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.

tensorflow-sys default eager? examples_system_alloc? experimental? private-docs-rs? tensorflow_gpu?
tensorflow-sys-runtime tensorflow_runtime_linking?
ndarray implicit feature

Enables ndarray

Enables conversions between ndarray::Array objects and tensorflow::Tensor