TensorFlow Bindings for PySyft
Project description
PySyft-TensorFlow
TensorFlow bindings for PySyft.
PySyft is a Python framework for secure, private deep learning. PySyft-TensorFlow brings secure, private deep learning to TensorFlow.
Installation
PySyft-TensorFlow is available on pip
pip install syft-tensorflow
NOTE: We aren't yet on a proper release schedule. Until then, we recommend building the code from source. The master branch is intended to be kept in line with this branch on the DropoutLabs fork of PySyft. If you have any trouble, please open an issue or reach out on Slack via the #team_tensorflow or #team_pysyft channels.
Usage
See the PySyft tutorials if you are unfamiliar with any Syft paradigms.
import tensorflow as tf
import syft
hook = sy.TensorFlowHook(tf)
# Simulates a remote worker (ie another computer)
remote = sy.VirtualWorker(hook, id="remote")
# Send data to the other worker
x = tf.constant(5).send(remote)
y = tf.constant(10).send(remote)
z = x * y
print(z.get())
# => 50
Developing PySyft-TensorFlow
See CONTRIBUTING.
Project Support
PySyft-Tensorflow was contributed by and continues to be maintained by the team at Dropout Labs.
Please reach out to contact@dropoutlabs.com for support.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file syft-tensorflow-0.1.0.tar.gz
.
File metadata
- Download URL: syft-tensorflow-0.1.0.tar.gz
- Upload date:
- Size: 17.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d428ca56cd74756bdc76eb1afe46f62457fbbd41a7a2719514b0220865199c5e |
|
MD5 | d020f0836b694e2493827d76178fd581 |
|
BLAKE2b-256 | 1cb50706417d20bfb8c175cf6d0547bd0a3931bb251a57d3e298dd32f0610089 |
File details
Details for the file syft_tensorflow-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: syft_tensorflow-0.1.0-py3-none-any.whl
- Upload date:
- Size: 37.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80cff9801f184fa0dfd4522bf20821d092703c8b15f251e6ef4059ae6ec100af |
|
MD5 | 175c5de78080c72879d4a692c6474b27 |
|
BLAKE2b-256 | 6d13adbf82ff7ee64461026c7591caab14f9da13993015ed7cd9ec17cd7d1998 |