272123ed029d2e8f73e83d1d9ab1a96c56cead15,tensorflow_encrypted/tensor/int100.py,Int100Tensor,mod,#Int100Tensor#Any#,229
Before Change
return Int100Tensor.from_decomposed(z_backing)
def mod(self, k: int) -> "Int100Tensor":
value = _crt_mod(self.backing, k)
return Int100Tensor.from_native(value)
def reduce_sum(self, axis=None, keepdims=None) -> "Int100Tensor":
y_backing = _crt_reduce_sum(self.backing, axis, keepdims)
return Int100Tensor.from_decomposed(y_backing)
After Change
return Int100Tensor(z_backing)
def mod(self, k: int) -> "Int100Tensor":
return Int100Tensor(_crt_decompose(_crt_mod(self.backing, k)))
def reduce_sum(self, axis=None, keepdims=None) -> "Int100Tensor":
backing = _crt_reduce_sum(self.backing, axis, keepdims)
return Int100Tensor(backing)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: mortendahl/tf-encrypted
Commit Name: 272123ed029d2e8f73e83d1d9ab1a96c56cead15
Time: 2018-10-10
Author: bendecoste@gmail.com
File Name: tensorflow_encrypted/tensor/int100.py
Class Name: Int100Tensor
Method Name: mod
Project Name: mortendahl/tf-encrypted
Commit Name: 4dfbf183006edc78b8dad325b06b5682d03392a3
Time: 2018-09-24
Author: justinpatriquin@gmail.com
File Name: tensorflow_encrypted/tensor/int32.py
Class Name: Int32Tensor
Method Name: concat
Project Name: mortendahl/tf-encrypted
Commit Name: 4dfbf183006edc78b8dad325b06b5682d03392a3
Time: 2018-09-24
Author: justinpatriquin@gmail.com
File Name: tensorflow_encrypted/tensor/int32.py
Class Name: Int32Tensor
Method Name: stack