f54c2b1361fb86f55a36064158c6baa658ffffb9,examples/mnist/run.py,,,#,162

Before Change


                                    logits,
                                    prediction_client.receive_output)

  with tfe.Session(target=session_target) as sess:

    sess.run(tf.global_variables_initializer(), tag="init")

    print("Training")
    sess.run(cache_updater, tag="training")

    for _ in range(5):
      print("Predicting")
      sess.run(prediction_op, tag="prediction")

After Change


    // get prediction input from client
    x = tfe.define_private_input(prediction_client.player_name,
                                 prediction_client.provide_input)
    logits = model(x)

  // send prediction output back to client
  prediction_op = tfe.define_output(prediction_client.player_name,
                                    logits,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: mortendahl/tf-encrypted
Commit Name: f54c2b1361fb86f55a36064158c6baa658ffffb9
Time: 2019-06-26
Author: suriyaku@gmail.com
File Name: examples/mnist/run.py
Class Name:
Method Name:


Project Name: explosion/thinc
Commit Name: 2fb4f0fcad82ebf931f6f83f220679b1e02066a4
Time: 2015-11-06
Author: honnibal@gmail.com
File Name: tests/test_model.py
Class Name:
Method Name: model


Project Name: explosion/thinc
Commit Name: 2fb4f0fcad82ebf931f6f83f220679b1e02066a4
Time: 2015-11-06
Author: honnibal@gmail.com
File Name: tests/test_model.py
Class Name:
Method Name: test_basic


Project Name: mortendahl/tf-encrypted
Commit Name: 7272af90d4f5916f61f8bc5660e5605e730bbd78
Time: 2019-07-16
Author: suriyaku@gmail.com
File Name: examples/securenn/network_a.py
Class Name:
Method Name: