PondPublicTensor¶
-
class
tf_encrypted.protocol.pond.PondPublicTensor(prot: tf_encrypted.protocol.pond.Pond, value_on_0: tf_encrypted.tensor.factory.AbstractTensor, value_on_1: tf_encrypted.tensor.factory.AbstractTensor, is_scaled: bool)[source]¶ This class represents a public tensor, known by at least the two servers but potentially known by more. Although there is only a single value we replicate it on both servers to avoid sending it from one to the other in the operations where it’s needed by both (eg multiplication).