272123ed029d2e8f73e83d1d9ab1a96c56cead15,tensorflow_encrypted/tensor/int64.py,Int64Tensor,sub,#Int64Tensor#Any#,63

Before Change


        return Int64Tensor(x.value + y.value)

    def sub(self, other: Any) -> "Int64Tensor":
        x, y = Int64Tensor.lift(self), Int64Tensor.lift(other)
        return Int64Tensor(x.value - y.value)

    def mul(self, other: Any) -> "Int64Tensor":
        x, y = Int64Tensor.lift(self), Int64Tensor.lift(other)

After Change


        return int64factory.tensor(x.value + y.value)

    def sub(self, other: Any) -> "Int64Tensor":
        x, y = _lift(self, other)
        return int64factory.tensor(x.value - y.value)

    def mul(self, other: Any) -> "Int64Tensor":
        x, y = _lift(self, other)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 21

Non-data size: 5

Instances


Project Name: mortendahl/tf-encrypted
Commit Name: 272123ed029d2e8f73e83d1d9ab1a96c56cead15
Time: 2018-10-10
Author: bendecoste@gmail.com
File Name: tensorflow_encrypted/tensor/int64.py
Class Name: Int64Tensor
Method Name: sub


Project Name: mortendahl/tf-encrypted
Commit Name: 272123ed029d2e8f73e83d1d9ab1a96c56cead15
Time: 2018-10-10
Author: bendecoste@gmail.com
File Name: tensorflow_encrypted/tensor/int64.py
Class Name: Int64Tensor
Method Name: sub


Project Name: mortendahl/tf-encrypted
Commit Name: 272123ed029d2e8f73e83d1d9ab1a96c56cead15
Time: 2018-10-10
Author: bendecoste@gmail.com
File Name: tensorflow_encrypted/tensor/int32.py
Class Name: Int32Tensor
Method Name: matmul


Project Name: mortendahl/tf-encrypted
Commit Name: 272123ed029d2e8f73e83d1d9ab1a96c56cead15
Time: 2018-10-10
Author: bendecoste@gmail.com
File Name: tensorflow_encrypted/tensor/int64.py
Class Name: Int64Tensor
Method Name: conv2d


Project Name: mortendahl/tf-encrypted
Commit Name: 3c8bc55c382e9b46909d36ca2c8e74cbc213b9fb
Time: 2019-01-10
Author: mortendahlcs@gmail.com
File Name: tf_encrypted/tensor/int100.py
Class Name: Int100Tensor
Method Name: __mul__


Project Name: mortendahl/tf-encrypted
Commit Name: 272123ed029d2e8f73e83d1d9ab1a96c56cead15
Time: 2018-10-10
Author: bendecoste@gmail.com
File Name: tensorflow_encrypted/tensor/int32.py
Class Name: Int32Tensor
Method Name: add


Project Name: mortendahl/tf-encrypted
Commit Name: 3c8bc55c382e9b46909d36ca2c8e74cbc213b9fb
Time: 2019-01-10
Author: mortendahlcs@gmail.com
File Name: tf_encrypted/tensor/int100.py
Class Name: Int100Tensor
Method Name: __rmul__


Project Name: mortendahl/tf-encrypted
Commit Name: 3c8bc55c382e9b46909d36ca2c8e74cbc213b9fb
Time: 2019-01-10
Author: mortendahlcs@gmail.com
File Name: tf_encrypted/tensor/int100.py
Class Name: Int100Tensor
Method Name: sub


Project Name: mortendahl/tf-encrypted
Commit Name: 3c8bc55c382e9b46909d36ca2c8e74cbc213b9fb
Time: 2019-01-10
Author: mortendahlcs@gmail.com
File Name: tf_encrypted/tensor/int100.py
Class Name: Int100Tensor
Method Name: add


Project Name: mortendahl/tf-encrypted
Commit Name: 272123ed029d2e8f73e83d1d9ab1a96c56cead15
Time: 2018-10-10
Author: bendecoste@gmail.com
File Name: tensorflow_encrypted/tensor/int32.py
Class Name: Int32Tensor
Method Name: mul


Project Name: mortendahl/tf-encrypted
Commit Name: 272123ed029d2e8f73e83d1d9ab1a96c56cead15
Time: 2018-10-10
Author: bendecoste@gmail.com
File Name: tensorflow_encrypted/tensor/int64.py
Class Name: Int64Tensor
Method Name: mul


Project Name: mortendahl/tf-encrypted
Commit Name: 272123ed029d2e8f73e83d1d9ab1a96c56cead15
Time: 2018-10-10
Author: bendecoste@gmail.com
File Name: tensorflow_encrypted/tensor/int32.py
Class Name: Int32Tensor
Method Name: conv2d


Project Name: mortendahl/tf-encrypted
Commit Name: 3c8bc55c382e9b46909d36ca2c8e74cbc213b9fb
Time: 2019-01-10
Author: mortendahlcs@gmail.com
File Name: tf_encrypted/tensor/int100.py
Class Name: Int100Tensor
Method Name: conv2d


Project Name: mortendahl/tf-encrypted
Commit Name: 3c8bc55c382e9b46909d36ca2c8e74cbc213b9fb
Time: 2019-01-10
Author: mortendahlcs@gmail.com
File Name: tf_encrypted/tensor/int100.py
Class Name: Int100Tensor
Method Name: matmul


Project Name: mortendahl/tf-encrypted
Commit Name: 272123ed029d2e8f73e83d1d9ab1a96c56cead15
Time: 2018-10-10
Author: bendecoste@gmail.com
File Name: tensorflow_encrypted/tensor/int32.py
Class Name: Int32Tensor
Method Name: sub


Project Name: mortendahl/tf-encrypted
Commit Name: 3c8bc55c382e9b46909d36ca2c8e74cbc213b9fb
Time: 2019-01-10
Author: mortendahlcs@gmail.com
File Name: tf_encrypted/tensor/int100.py
Class Name: Int100Tensor
Method Name: __add__


Project Name: mortendahl/tf-encrypted
Commit Name: 3c8bc55c382e9b46909d36ca2c8e74cbc213b9fb
Time: 2019-01-10
Author: mortendahlcs@gmail.com
File Name: tf_encrypted/tensor/int100.py
Class Name: Int100Tensor
Method Name: __rsub__


Project Name: mortendahl/tf-encrypted
Commit Name: 3c8bc55c382e9b46909d36ca2c8e74cbc213b9fb
Time: 2019-01-10
Author: mortendahlcs@gmail.com
File Name: tf_encrypted/tensor/int100.py
Class Name: Int100Tensor
Method Name: __radd__


Project Name: mortendahl/tf-encrypted
Commit Name: 3c8bc55c382e9b46909d36ca2c8e74cbc213b9fb
Time: 2019-01-10
Author: mortendahlcs@gmail.com
File Name: tf_encrypted/tensor/int100.py
Class Name: Int100Tensor
Method Name: __sub__


Project Name: mortendahl/tf-encrypted
Commit Name: 272123ed029d2e8f73e83d1d9ab1a96c56cead15
Time: 2018-10-10
Author: bendecoste@gmail.com
File Name: tensorflow_encrypted/tensor/int64.py
Class Name: Int64Tensor
Method Name: matmul


Project Name: mortendahl/tf-encrypted
Commit Name: 272123ed029d2e8f73e83d1d9ab1a96c56cead15
Time: 2018-10-10
Author: bendecoste@gmail.com
File Name: tensorflow_encrypted/tensor/int64.py
Class Name: Int64Tensor
Method Name: add


Project Name: mortendahl/tf-encrypted
Commit Name: 3c8bc55c382e9b46909d36ca2c8e74cbc213b9fb
Time: 2019-01-10
Author: mortendahlcs@gmail.com
File Name: tf_encrypted/tensor/int100.py
Class Name: Int100Tensor
Method Name: mul