ec98feb77292d95c05da5ea98e64acbf8282b98d,examples/madry_lab_challenges/madry_mnist_model.py,MadryMNIST,fprop,#MadryMNIST#Any#,32

Before Change



        l = locals()
        for key in sorted(l.keys()):
            if key in ["self", "output"]:
                continue
            output[key] = l[key]

        return output

    @staticmethod

After Change


        logits = tf.matmul(h_fc1, self.W_fc2) + self.b_fc2

        output = deterministic_dict(locals())
        del output["self"]

        return output

    @staticmethod
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: tensorflow/cleverhans
Commit Name: ec98feb77292d95c05da5ea98e64acbf8282b98d
Time: 2017-08-14
Author: goodfellow@google.com
File Name: examples/madry_lab_challenges/madry_mnist_model.py
Class Name: MadryMNIST
Method Name: fprop


Project Name: ray-project/ray
Commit Name: 62c7ab518214286a4721dd7410978effd6d05471
Time: 2020-11-12
Author: sven@anyscale.io
File Name: rllib/models/modelv2.py
Class Name: ModelV2
Method Name: from_batch


Project Name: pantsbuild/pants
Commit Name: 08bc2add6e98feefdce36f6f094a15e3e598b1e7
Time: 2016-02-23
Author: stuhood@gmail.com
File Name: src/python/pants/engine/exp/mapper.py
Class Name: AddressMap
Method Name: parse