Skip to content

Instantly share code, notes, and snippets.

@jvmncs
Created October 24, 2019 13:07
Show Gist options
  • Save jvmncs/091e44fb8d6f79572b89adcf46a084ea to your computer and use it in GitHub Desktop.
Save jvmncs/091e44fb8d6f79572b89adcf46a084ea to your computer and use it in GitHub Desktop.
alice = syft.VirtualWorker(hook, “alice”)
x = tf.constant([1., 2., 3., 4.])
x_ptr = x.send(alice)
print(x_ptr)
# ==> (Wrapper)>[PointerTensor | me:random_id1 -> alice:random_id2]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment