# tensorflow/rust

Rust language bindings for TensorFlow

Repository: https://github.com/tensorflow/rust
Canonical: https://ross.abutalabs.com/products/tensorflow-rust
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: tensorflow, rust, machine-learning
Archived: true
Last push: 2025-01-12T17:43:04+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 1, release rhythm 35, longevity 100
- inputs: {"age_days": 3863, "days_push": 598, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5476, forks 434 (observed 2026-08-28T04:09:19.658410+00:00)

## What it is
TensorFlow Rust provides idiomatic Rust language bindings for TensorFlow via its C API. It lets Rust programs build and run TensorFlow computation graphs, with automatic download or compilation of TensorFlow shared libraries.

## Use cases
- run tensorflow models from rust
- train machine learning models in rust
- embed tensorflow inference in a rust application
- use tensorflow c api bindings in rust
- build a rust binary with tensorflow gpu support

## When to choose
- you are writing a Rust application that needs TensorFlow graph execution
- you want idiomatic Rust bindings instead of calling the C API directly
- you need CPU or CUDA GPU-backed TensorFlow from Rust on Linux or macOS

## When to avoid
- you need a stable, guaranteed API - the project is still under active development
- you want PyTorch or newer TensorFlow 2.x Keras-style workflows
- you need prebuilt binaries on platforms other than x86-64 Linux or macOS, since building TensorFlow from source is memory intensive

## Facets
- artifact type: library
- maturity: active
- function: machine-learning, deep-learning, sdk
- domain: machine-learning, deep-learning, developer-tools
- platform: rust, windows
- tags: tensorflow-bindings, rust-crate, c-api, neural-networks, linux, macos, gpu

## Member repositories
- tensorflow/rust (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:19.658410+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:56:42.802304+00:00, confidence not recorded.
  - readme: https://github.com/tensorflow/rust (fetched 2026-08-28T04:09:19.658410+00:00, sha 9a4160e51527)
- Data as of 2026-08-30T08:39:29.467469+00:00.
