b6e769bb30485eefa37dee5a8bb1ef3ff81c6bd0,cleverhans_tutorials/mnist_tutorial_cw.py,,mnist_tutorial_cw,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,39

Before Change


        "nb_epochs": nb_epochs,
        "batch_size": batch_size,
        "learning_rate": learning_rate,
        "train_dir": os.path.join(*os.path.split(model_path)[:-1]),
        "filename": os.path.split(model_path)[-1]
    }

After Change


        tf_model_load(sess, model_path)
    else:
        train(sess, loss, x, y, x_train, y_train, args=train_params, rng=rng)
        saver = tf.train.Saver()
        saver.save(sess, model_path)

    // Evaluate the accuracy of the MNIST model on legitimate test examples
    eval_params = {"batch_size": batch_size}
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: tensorflow/cleverhans
Commit Name: b6e769bb30485eefa37dee5a8bb1ef3ff81c6bd0
Time: 2018-09-09
Author: goodfellow@google.com
File Name: cleverhans_tutorials/mnist_tutorial_cw.py
Class Name:
Method Name: mnist_tutorial_cw


Project Name: tensorflow/minigo
Commit Name: 39a106e526e70b5d64bf9f5404311eb490df6ea5
Time: 2018-06-12
Author: tmadams@google.com
File Name: inference_worker.py
Class Name:
Method Name: main


Project Name: tensorflow/magenta
Commit Name: 610718c4e5072a98ccb79fbca4b58febb5c6267f
Time: 2019-08-21
Author: pierrot@google.com
File Name: magenta/models/image_stylization/image_stylization_train.py
Class Name:
Method Name: main


Project Name: tensorflow/magenta
Commit Name: a5124e8dc490e350f4ba04cce341779c879b85a9
Time: 2019-08-28
Author: iansimon@google.com
File Name: magenta/models/image_stylization/image_stylization_train.py
Class Name:
Method Name: main