66a2dcf5694860fa891308640282a03070702d44,tensorflow_encrypted/protocol/securenn.py,SecureNN,max_pool,#SecureNN#Any#,55

Before Change


        x = _lift(self, x)
        dispatch = {}
        func = dispatch.get(_type(x), None)
        if func is None:
            raise TypeError("Don"t know how to max_pool {}".format(type(x)))

        z = func(self, x)
        _nodes[node_key] = z

        return z

After Change


        return drelu * x

    def max_pool(self, x):
        raise NotImplementedError

    def dmax_pool_efficient(self, x):
        raise NotImplementedError
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: mortendahl/tf-encrypted
Commit Name: 66a2dcf5694860fa891308640282a03070702d44
Time: 2018-09-17
Author: mortendahlcs@gmail.com
File Name: tensorflow_encrypted/protocol/securenn.py
Class Name: SecureNN
Method Name: max_pool


Project Name: deepfakes/faceswap
Commit Name: f16ea566f0565e7fb1eee3477e66e51c3ba87b1c
Time: 2018-04-04
Author: 36920800+torzdf@users.noreply.github.com
File Name: tools/sort.py
Class Name:
Method Name:


Project Name: mortendahl/tf-encrypted
Commit Name: 66a2dcf5694860fa891308640282a03070702d44
Time: 2018-09-17
Author: mortendahlcs@gmail.com
File Name: tensorflow_encrypted/protocol/securenn.py
Class Name: SecureNN
Method Name: dmax_pool_efficient