· 6 years ago · Aug 19, 2019, 04:42 PM
1public_keys, secret_key = tf_seal.key_gen()
2
3x = tf_seal.constant(tf.constant([1234, 1234]), public_keys)
4y = tf_seal.constant(tf.constant([1234, 1234]), public_keys)
5z = x + y
6
7with tf.Session() as sess:
8 res = sess.run(z)