OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Developer Tools & SDKs

Tf Encrypted

TF Encrypted is a Python framework that extends TensorFlow-style machine-learning workflows to training and prediction over encrypted data through secure multiparty computation and homomorphic encryption.

Independent OpenViST project profile, based on linked sources.

Tf Encrypted — OpenViST project profile in AI Developer Tools & SDKs.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when adapting a TensorFlow-oriented workflow to compute on encrypted data, or when evaluating MPC and homomorphic-encryption approaches for training or prediction.

Who it is for

  • TensorFlow developers exploring computation over encrypted inputs.
  • Teams or researchers evaluating privacy-preserving training or inference across parties.
  • Developers prototyping encrypted machine-learning workflows with a Keras-like interface.

Documented uses

  • Define private inputs and variables for an encrypted computation.
  • Run TensorFlow-style operations, such as matrix multiplication, over encrypted data.
  • Explore private model inference and training through the repository's examples and benchmarks.
Before you choose

Requirements & limits

  • The documented PyPI package requires Python 3.8+ and TensorFlow 2.9.1+.
  • TensorFlow 1 session and placeholder features are not supported by the TensorFlow 2-based version; the README points users needing that style to version 0.8.0.
  • The README presents source installation as a basic setup and directs developers to further installation instructions for matching the PyPI package's performance and security.
  • Published benchmarks use ABY3 across three machines and specify hardware and network conditions, so the figures are tied to that test setup.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Install TF Encrypted from PyPI

Set up the documented package prerequisites and install TF Encrypted.

Before you start

  • Python 3.8 or later
  • TensorFlow 2.9.1 or later

Steps

  1. Install the required Python and TensorFlow versions.

  2. Run the command below.

    Documented command
    pip install tf-encrypted

Expected outcome

The README's PyPI installation route is followed for TF Encrypted.

Guide limitations

  • These instructions cover package installation, not running a particular model or deployment.
  • The README notes that a source installation may need extra steps to match the performance and security of the PyPI package.
Source-based practical guide

Build TF Encrypted from source

Follow the repository's documented source installation steps for development or an uncompiled platform.

Before you start

  • Python and TensorFlow environment suitable for the project
  • Git and the make build tool

Steps

  1. Clone https://github.com/tf-encrypted/tf-encrypted.git.

  2. Change into the tf-encrypted directory.

  3. Run the command below.

    Documented command
    pip install -e .
  4. Run the command below.

    Documented command
    make build

Expected outcome

The README describes this as a basic source installation.

Guide limitations

  • The README says additional installation steps are required to match the performance and security of the PyPI package.
  • The guide does not cover executing a workload.
COMPARE OPTIONS

Compare options for Model inference and serving

These projects document a common task and share a project role. This is a source-based comparison, not an execution benchmark or a guarantee of interchangeability.

ProjectDocumented purposePlatformAccess and requirements
Tf EncryptedDefine private inputs and variables for an encrypted computation.Linux, macOS, Windows
HyperposeCustomize pose-estimation architectures and datasets.Docker, Linux, macOS, Windows
Multi Task NlpDefine multiple tasks and their data and model settings in a YAML file.Linux, macOS, WindowsThe project is an open-source library under the Apache-2.0 license, distributed through its public GitHub repository.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
17 October 2026
Original website title
tf-encrypted/tf-encrypted · Official homepage title · retained in its source language