80a7647e691af373448a27169246c5894bfe0fd3,tensorflow_encrypted/tensor/int100.py,Int100Tensor,squeeze,#Int100Tensor#Any#,178
Before Change
return _expand_dims(self, axis)
def squeeze(self, axis: List[int]) -> "Int100Tensor":
return _squeeze(self, axis)
def negative(self) -> "Int100Tensor":
// TODO[Morten] there"s probably a more efficient way
return Int100Tensor.zero() - self
After Change
return Int100Tensor.from_decomposed(backing)
def squeeze(self, axis: Optional[List[int]]=None) -> "Int100Tensor":
backing = [tf.squeeze(xi, axis=axis) for xi in self.backing]
return Int100Tensor.from_decomposed(backing)
def negative(self) -> "Int100Tensor":
// TODO[Morten] there"s probably a more efficient way
return Int100Tensor.zero() - self
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 9
Instances
Project Name: mortendahl/tf-encrypted
Commit Name: 80a7647e691af373448a27169246c5894bfe0fd3
Time: 2018-10-03
Author: mortendahlcs@gmail.com
File Name: tensorflow_encrypted/tensor/int100.py
Class Name: Int100Tensor
Method Name: squeeze
Project Name: mortendahl/tf-encrypted
Commit Name: 80a7647e691af373448a27169246c5894bfe0fd3
Time: 2018-10-03
Author: mortendahlcs@gmail.com
File Name: tensorflow_encrypted/tensor/int100.py
Class Name: Int100Tensor
Method Name: reshape
Project Name: mortendahl/tf-encrypted
Commit Name: 80a7647e691af373448a27169246c5894bfe0fd3
Time: 2018-10-03
Author: mortendahlcs@gmail.com
File Name: tensorflow_encrypted/tensor/int100.py
Class Name: Int100Tensor
Method Name: transpose
Project Name: mortendahl/tf-encrypted
Commit Name: 80a7647e691af373448a27169246c5894bfe0fd3
Time: 2018-10-03
Author: mortendahlcs@gmail.com
File Name: tensorflow_encrypted/tensor/int100.py
Class Name: Int100Tensor
Method Name: strided_slice
Project Name: mortendahl/tf-encrypted
Commit Name: 80a7647e691af373448a27169246c5894bfe0fd3
Time: 2018-10-03
Author: mortendahlcs@gmail.com
File Name: tensorflow_encrypted/tensor/int100.py
Class Name: Int100Tensor
Method Name: expand_dims