Files
WeHub Mirror 16d3f15320
ARM CI / build (3.10) (push) Has been cancelled
cffconvert / validate (push) Has been cancelled
Creates a GitHub Issue when a PR Rolled back via Commit to Master / create-issue-on-pr-rollback (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
WeHub snapshot of ee606724a5c2f63bf60704cb3e1b169618993fd9
2026-08-07 16:11:07 +08:00

1020 B

Bazel rules to package the TensorFlow APIs in languages other than Python into archives.

C library

The TensorFlow C API is typically a requirement of TensorFlow APIs in other languages such as Go and Rust.

The following commands:

bazel test --config opt //tensorflow/tools/lib_package:libtensorflow_test
bazel build --config opt //tensorflow/tools/lib_package:libtensorflow

test and produce the archive at bazel-bin/tensorflow/tools/lib_package/libtensorflow.tar.gz, which can be distributed and installed using something like:

tar -C /usr/local -xzf libtensorflow.tar.gz

Release

Scripts to build these archives for TensorFlow releases are in tensorflow/tools/ci_build/linux and tensorflow/tools/ci_build/osx