5e381ffa82b6e515697c3c2f9ed3dffe768af37a,examples/logistic/prediction_joint.py,,,#,6
Before Change
prediction_client_1 = PredictionClient("prediction-client-1", num_features // 2)
result_receiver = prediction_client_0
x_0 = tfe.define_private_input(prediction_client_0.player_name,
prediction_client_0.provide_input)
x_1 = tfe.define_private_input(prediction_client_1.player_name,
prediction_client_1.provide_input)
x = tfe.concat([x_0, x_1], axis=1)
y = model.forward(x)
reveal_output = tfe.define_output(result_receiver.player_name,
y,
result_receiver.receive_output)
with tfe.Session() as sess:
sess.run(tfe.global_variables_initializer(), tag="init")
After Change
result_receiver = prediction_client_0
x_0 = prediction_client_0.provide_input()
x_1 = prediction_client_0.provide_input()
x = tfe.concat([x_0, x_1], axis=1)
y = model.forward(x)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: mortendahl/tf-encrypted
Commit Name: 5e381ffa82b6e515697c3c2f9ed3dffe768af37a
Time: 2019-07-11
Author: jason@dropoutlabs.com
File Name: examples/logistic/prediction_joint.py
Class Name:
Method Name:
Project Name: mortendahl/tf-encrypted
Commit Name: 5e381ffa82b6e515697c3c2f9ed3dffe768af37a
Time: 2019-07-11
Author: jason@dropoutlabs.com
File Name: examples/simple-average/run.py
Class Name:
Method Name:
Project Name: mortendahl/tf-encrypted
Commit Name: 5e381ffa82b6e515697c3c2f9ed3dffe768af37a
Time: 2019-07-11
Author: jason@dropoutlabs.com
File Name: examples/logistic/prediction_joint.py
Class Name:
Method Name:
Project Name: mortendahl/tf-encrypted
Commit Name: 5e381ffa82b6e515697c3c2f9ed3dffe768af37a
Time: 2019-07-11
Author: jason@dropoutlabs.com
File Name: examples/mnist/run.py
Class Name:
Method Name: