Cargo Features

tensorflow-sys has no features set by default.

[dependencies]
tensorflow-sys = { version = "0.24.0", features = ["experimental", "examples_system_alloc", "private-docs-rs", "lazy_static", "libloading", "cfg-if", "log"] }
tensorflow_gpu eager experimental
examples_system_alloc

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

private-docs-rs

DO NOT RELY ON THIS

Features from optional dependencies

lazy_static implicit feature

Enables lazy_static

lazy_static:

A macro for declaring lazily evaluated statics in Rust

libloading implicit feature

Enables libloading ^0.7.3

cfg-if implicit feature
log implicit feature

Enables log

log:

A lightweight logging facade for Rust