33afc8d9385d3f198f0b757f95b023f02485d065,cleverhans/attacks_tf.py,,jsma_tf,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,189

Before Change


                             adv_x[0, 0, row, col] < clip_max])
    else:
        search_domain = set([(row, col) for row in xrange(FLAGS.img_rows)
                             for col in xrange(FLAGS.img_cols)
                             if adv_x[0, 0, row, col] > clip_min])

    // Initial the loop variables
    iteration = 0

After Change


           and len(search_domain) > 0):

        // Compute the Jacobian components
        grads_target, grads_others = jacobian(sess, x, grads, target, np.reshape(adv_x, original_shape), nb_features)

        // Compute the saliency map for each of our target classes
        // and return the two best candidate features for perturbation
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: tensorflow/cleverhans
Commit Name: 33afc8d9385d3f198f0b757f95b023f02485d065
Time: 2017-01-30
Author: Reuben_Feinman@symantec.com
File Name: cleverhans/attacks_tf.py
Class Name:
Method Name: jsma_tf


Project Name: CellProfiler/CellProfiler
Commit Name: e5f934c85ba8da496ba1a0b77c5c84dfc834f14f
Time: 2010-09-22
Author: afraser@1fc53939-2000-0410-845c-e8453a809027
File Name: imagej/tests/test_ijbridge.py
Class Name:
Method Name:


Project Name: AIRLab-POLIMI/mushroom
Commit Name: c702968d83449f3a6aad3a5cec6cc0b2aafd78c5
Time: 2017-09-27
Author: carloderamo@gmail.com
File Name: mushroom/algorithms/dqn.py
Class Name: RDQN
Method Name: fit